|
-
Re: movie clip
No, when I tried, fscommand wont save variables in the MovieClip scope. It just saves "all" _root variables into a file.
Well,usually a flash movie _root, has many many variables.I do not want to save them all, but I can not control them. So I make a movie "saver.fla", and loadMovie("main.swf",1);
fscommnad save nothing. So, I copy variables that I want to save to _level0 like "_root.var1=_lelvel1.var1"; Then after fscommand in the saver.fla, I create a text file with only the varaibles and value in that file.
Most of the time, the saved text file is clean with only the variables and value.
But if you trace(_root.constructor), the output window did shows [type Function]. But, most of the time, this would not saved into text file.
Sometimes, it did. Why ???
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|