0 Replies Latest reply on Mar 3, 2009 9:09 AM by darrenyng

    Questions about ApplicationDomain

    darrenyng
      A few questions about ApplicationDomain:

      - When a swf is loaded into a new ApplicationDomain, does it get allocated its own heap and stack in memory? For example, will a static variable be allocated new memory for each swf that's loaded? And does each swf understand which static variable to reference?

      - If I add dynamic functions to DisplayObjectContainer (ie. adding functions to prototype), does this get added to all instances of this class regardless of ApplicationDomain, or does each individual ApplicationDomain get its own version of DisplayObjectContainer?

      - Same question, but for my own class that doesn't extend anything in Flash's framework

      I've searched around the internet for hours and couldn't find any detailed documentation... any help would be greatly appreciated!

      Thanks!