Skip navigation
Currently Being Moderated

Unable to access sub application variable using SWFLoader INIT method

Apr 22, 2013 11:16 PM

Tags: #variable #access #swfloader #init

Unable to access sub appliation variable on SWFLoader init method. Got the following error when I try to access, ReferenceError: Error #1069: Property someVar not found on _SubApplication_mx_managers_SystemManager and there is no default value.

  • Currently Being Moderated
    Apr 23, 2013 9:41 AM   in reply to r4raghs

    The content of a SWFLoader for a loaded Flex app is not the Application, it is the SystemManager.

    Mark as:
  • Currently Being Moderated
    Apr 24, 2013 1:30 PM   in reply to r4raghs

    Well, you can have the sub-application dispatch an event off of its systemManager or poll on enterFrame, but the sub-objects in the Application may not be fully ready yet at that point.


    Also, keep in mind that AIR loads remote applications into a security sandbox, so these events and the application are cannot be accessed directly.   You will need to use “Marshall Plan” techniques to share between SWFs.

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points