You can use the SWFLoader class to load a Flex application from a URL and add it as a child of your application.

 


From: [email protected] [mailto:[email protected]] On Behalf Of mthielman11
Sent: Friday, June 30, 2006 9:05 AM
To: [email protected]
Subject: [flexcoders] Calling one Flex app from another

 

OK let me see if I can explain this :)

I have a website that i have set up with 2 frames. The left frame contains a flex
application that is basically just an accordian for navigating. Each accordian option is
considered a different module in our system. So for example I have one called
"Administration" its canvas has 6 different buttons that will link to different components in
the Administration module.

So when the Administration accordian panel is selected it also needs to load the
administration Flex application into the right hand frame on the page. The reason I want
to do this is each Module will be rather large so I do not want one VERY big flex file that
would take forever to load up. Each module will be its own app and users typically will
spend the whole day iin one module so only a single load time.

Anyway what i need to happen is if someone clciks one of the buttons from the accordian
canvas it needs to open a cooresponding state in the other application file. For axample in
the Administration module there is a button for Users, this needs to open the User state in
the Administration Application in the right frame. Clickiing CLients button needs to open
the clients state in the right frame.

So my question is, is this even possible?? Can I open a certain state in another flex
application from a different flex application??

IF so how would the paths look?

IS there another way to accomplish this goal. Another reason for this layout is so the
accordian can easily be hidden when we don't want/need to use it.

Hope I explained this well, thanks.

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to