A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: saving variables???????????

Hybrid View

  1. #1
    Junior Member
    Join Date
    Mar 2002
    Posts
    13
    Hello, anyone knows how to save variables to a text file on harddrive, using mx actionscript? Without opening a dos environment by using fscommand("command.com","yada yaada"). I can do it with flash 5, but it doesn't seem to work with mx. URGENT HELP!!!!!!!!!!!!

  2. #2
    Junior Member
    Join Date
    Mar 2002
    Posts
    22
    How were you doing this in version 5? If you were using undocumented features, I think macromedia removed them.

  3. #3
    Junior Member
    Join Date
    Mar 2002
    Posts
    13
    In Flash 5 i used fscommand("save","myfile.txt"); , this used to save all the variables in the _root to a text file, myfile.txt, this could be done with your swf and exe projectors. How can i do this in mx? Do you know an alternate way?

  4. #4
    Member
    Join Date
    Feb 2001
    Location
    Palestine
    Posts
    81
    There is something called sharedObject in flash MX rad about it

  5. #5
    Originally posted by jasper_dawg
    In Flash 5 i used fscommand("save","myfile.txt"); , this used to save all the variables in the _root to a text file, myfile.txt, this could be done with your swf and exe projectors. How can i do this in mx? Do you know an alternate way?
    fscommand("save","myfile.txt");
    this is not working in flash5 too!
    how you can save variables into extrenal file?

  6. #6
    Junior Member
    Join Date
    Mar 2002
    Posts
    13

    reply to guru saving var


    fscommand("save","myfile.txt");
    this is not working in flash5 too!
    how you can save variables into extrenal file? [/B][/QUOTE]

    Hey guru, the flash6 player doesn't support it! if however, you have the flash5 player, the above fscommand code will work!

  7. #7
    Junior Member
    Join Date
    Mar 2002
    Posts
    13

    sharedObjects

    WHAT THE HELL IS --sharedObjects--???????

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center