diff --git a/.DS_Store b/.DS_Store
new file mode 100644
index 0000000..8f586ce
Binary files /dev/null and b/.DS_Store differ
diff --git a/AnimationEffects/AnimationEffects.fla b/AnimationEffects/AnimationEffects.fla
new file mode 100644
index 0000000..13bbc2f
Binary files /dev/null and b/AnimationEffects/AnimationEffects.fla differ
diff --git a/AnimationEffects/AnimationEffects2.fla b/AnimationEffects/AnimationEffects2.fla
new file mode 100644
index 0000000..ef4c7a0
Binary files /dev/null and b/AnimationEffects/AnimationEffects2.fla differ
diff --git a/PureSaffron/PureSaffron-app.xml b/FileBrowser/DownloadManager-app.xml
similarity index 85%
rename from PureSaffron/PureSaffron-app.xml
rename to FileBrowser/DownloadManager-app.xml
index a720f36..7faebf7 100644
--- a/PureSaffron/PureSaffron-app.xml
+++ b/FileBrowser/DownloadManager-app.xml
@@ -16,15 +16,15 @@
Japanese App name goes here
-->
-
- PureSaffron
+
+ PopMenu
1.0
- PureSaffron
+ PopMenu
- PureSaffron
+ PopMenu
- PureSaffron.swf
+ DownloadManager.swf
standard
false
true
diff --git a/FileBrowser/DownloadManager.fla b/FileBrowser/DownloadManager.fla
new file mode 100644
index 0000000..c9e90aa
Binary files /dev/null and b/FileBrowser/DownloadManager.fla differ
diff --git a/FileBrowser/FileBrowser.as b/FileBrowser/FileBrowser.as
new file mode 100644
index 0000000..1614736
--- /dev/null
+++ b/FileBrowser/FileBrowser.as
@@ -0,0 +1,38 @@
+package
+{
+ import flash.display.MovieClip;
+ import flash.filesystem.File;
+ import flash.utils.ByteArray;
+
+ import fileBrowser.FileBrowser2;
+
+ import netManager.urlSaver.URLSaver;
+ import netManager.urlSaver.URLSaverEvent;
+
+ public class FileBrowser extends MovieClip
+ {
+ public function FileBrowser()
+ {
+ super();
+ //Download file
+ var fileSaver:URLSaver = new URLSaver();
+ fileSaver.addEventListener(URLSaverEvent.LOADING,showPercent);
+ fileSaver.addEventListener(URLSaverEvent.LOAD_COMPLETE,fileDownloaded);
+ trace("*** Start file downlading");
+ fileSaver.load("https://sample-videos.com/audio/mp3/crowd-cheering.mp3");
+ }
+
+ private function showPercent(e:URLSaverEvent):void
+ {
+ trace(e.precent);
+ }
+
+ private function fileDownloaded(e:URLSaverEvent):void
+ {
+ trace("Load completed");
+ //You could change the buttons label as you need
+ FileBrowser2.setUp(1,1,1,1);
+ FileBrowser2.browsToSave(e.loadedBytes,"fileName.mp3");
+ }
+ }
+}
\ No newline at end of file
diff --git a/PureSaffron/Data/config.xml b/PureSaffron/Data/config.xml
deleted file mode 100644
index 7c0d44d..0000000
--- a/PureSaffron/Data/config.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
- 0
- 0
-
- 0
- 0
-
- false
- false
- false
- false
-
- 0
- 0
- 0
- 0
-
- false
-
\ No newline at end of file
diff --git a/PureSaffron/Data/data.xml b/PureSaffron/Data/data.xml
deleted file mode 100644
index bd05f1a..0000000
--- a/PureSaffron/Data/data.xml
+++ /dev/null
@@ -1,54 +0,0 @@
-
-
-
-
-
-
- home
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- sample3
-
-
-
-
- sample3
-
-
-
-
- sample3
-
-
-
-
- sample3
-
-
-
\ No newline at end of file
diff --git a/PureSaffron/Data/language.xml b/PureSaffron/Data/language.xml
deleted file mode 100644
index a45e713..0000000
--- a/PureSaffron/Data/language.xml
+++ /dev/null
@@ -1,70 +0,0 @@
-
- fa
-
-
- [[FONT FACE="Calibri" >[[/FONT]]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Home
- خانه
-
-
-
-
-
- ثبت
-
-
- بازگشت
-
-
- ارتباط با اینترنت برقرار نشده است.
-
-
- بله
-
-
- لطفا کمی صبر کنید
-
-
- جستجو
-
-
- خیر
-
-
- هیچ موردی یافت نشد
-
-
-
-
-
-
-
- 2
- 1
-
-
-
-
-
\ No newline at end of file
diff --git a/PureSaffron/PureSaffron.fla b/PureSaffron/PureSaffron.fla
deleted file mode 100644
index 64d915d..0000000
Binary files a/PureSaffron/PureSaffron.fla and /dev/null differ
diff --git a/Scroll/scrollSample.as b/Scroll/scrollSample.as
index 9fb26f6..3340897 100644
--- a/Scroll/scrollSample.as
+++ b/Scroll/scrollSample.as
@@ -19,6 +19,7 @@
SliderManager
scrollMC = Obj.get("scroll_mc",this);
+
new ScrollMT(scrollMC,new Rectangle(scrollMC.x,scrollMC.y,scrollMC.width,300),null,true,false);
scroll2MC = Obj.get("scroll2_mc",this);
@@ -26,6 +27,7 @@
scrollrtlMC = Obj.get("scrollrtl_mc",this);
new ScrollMT(scrollrtlMC,new Rectangle(scrollrtlMC.x-300,scrollrtlMC.y,300,scrollrtlMC.height),null,false,true,true,false,true);
+
}
}
-}
\ No newline at end of file
+}