A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Once imported is XML data alaways aviable throughout movie?

  1. #1
    Junior Member
    Join Date
    Nov 2003
    Posts
    10

    Once imported is XML data alaways aviable throughout movie?

    Once imported is XML data alaways aviable throughout movie?

    I was wondering. I have imported the xml and manipulated it. Now I want to acesss the data again. Must I reload or is the adat still avilable?

  2. #2
    Member
    Join Date
    Dec 2003
    Posts
    58
    There's nothing special about the way XML-objects are handled by the garbage collector. Data will be removed from memory when no more references to it exist.

    That means all variables persist, until they are:

    - set to "undefined"
    - overwritten with some other value
    - removed with "delete"
    - their timeline is terminated with removeMovieClip or unLoadMovie
    - the Flash player exits

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