Skip navigation
EricKhrypko
Currently Being Moderated

Flex sub-app

May 16, 2012 9:53 PM

Tags: #flash #as3 #4.5 #actionscript #builder #4.6

How can I get instance of sub-application? As I understand, FlexGlobals.toplevelApplication returns the host app.

 
Replies
  • Currently Being Moderated
    May 16, 2012 11:55 PM   in reply to EricKhrypko

    SWFLoader.content should be the root of the sub-app.

     
    |
    Mark as:
  • Currently Being Moderated
    May 17, 2012 9:48 AM   in reply to EricKhrypko

    The sub-app is the ‘this’ pointer for all code in the sub-app’s MXML file.  It is the parentApplication property value of any child UIComponent.  Other things should be passed some context information.

     
    |
    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