1 Reply Latest reply on Mar 17, 2007 12:59 PM by Newsgroup_User

    exporting variables

    PPineapple
      i have some variables in a flash document and at the end of the document i need to export the values inside the cariables into a file.
      my question is :
      1) what kind of file can i export it into ( e.g. *.txt, *.xml) i don't mind.
      2) how do i do it?

      thanks in advance

      pineapple-pp
        • 1. Re: exporting variables
          Level 7
          PPineapple,

          > i have some variables in a flash document and at the end
          > of the document i need to export the values inside the
          > cariables into a file.

          Okay.

          > my question is :
          > 1) what kind of file can i export it into ( e.g. *.txt, *.xml)
          > i don't mind.

          Both of those are text files, but I think I know what you mean. These
          variables won't be formatted as XML unless you format them that way, so .txt
          is is. :)

          > 2) how do i do it?

          Either add a number of trace() statements in your code to send the value
          of choice variables to the Output panel or use Debug > List Objects or List
          Variables file menu selection while testing your movie. In either case,
          you'll get text in the Output panel, and from there, you can use the context
          menu (just under that panel's "x") to save that text to a file.


          David Stiller
          Adobe Community Expert
          Dev blog, http://www.quip.net/blog/
          "Luck is the residue of good design."