A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: XML deleted after onLoad?

  1. #1
    Retired SCORM Guru PAlexC's Avatar
    Join Date
    Nov 2000
    Location
    NJ
    Posts
    1,387

    XML deleted after onLoad?

    I thought I read this somewhere, and I just wanted to clarify. Is XML data deleted from an XML Object automatically after the onLoad function is completed?

    I'm in the habit of using the onLoad function to populate variables/objects/arrays then using delete.this to clear the data out of memory. Much easier to reference myObjects[x].property than children of children of childnodes, etc.

    Is this unecessary?
    "What really bugs me is that my mom had the audacity to call Flash Kit a bunch of 'inept jack-asses'." - sk8Krog
    ...and now I have tape all over my face.

  2. #2
    Senior Member tupps's Avatar
    Join Date
    Jan 2001
    Location
    Melbourne
    Posts
    2,035
    The Xml is available after the onLoad function. You must have pretty big xml file to warrant deleting the xml file.

    Thanks

    Luke
    Flash-XML FAQ
    http://www.tupps.com/flash/faq/

  3. #3
    Retired SCORM Guru PAlexC's Avatar
    Join Date
    Nov 2000
    Location
    NJ
    Posts
    1,387
    Not one big one so much as a lot of smaller ones that can't be consolidated. Thanks.
    "What really bugs me is that my mom had the audacity to call Flash Kit a bunch of 'inept jack-asses'." - sk8Krog
    ...and now I have tape all over my face.

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