5 Replies Latest reply on Aug 11, 2010 2:37 PM by Flex harUI

    attach a public variable to systemManager from within preloader (Flex 4.1)?

    bmilesp Level 1

      I have a preloader loading an external XML file and i'm trying to pass that data to the main application. What i have so far is that i'm monkey Patching the SystemManager and adding a variable test. When i create a new systemManager = new SystemManager() in the preloader, i can access the systemManager.test var and manipulate it just fine.


      However, i cannot access the systemManager.test var in the Application after the preloader has completed. the variable is not there as if the monkey patch is not working at all.


      what is boils down to is that i just need to pass the XML data from the preloader to the main app and i cannot find anything that works in Flex 4.1. any help would be appreciated. -b