Yes they are completely different swf files( there are 4 of them in total). One of them is main.swf which has few text boxes and buttons. On clicking button 1 hello2. swf is loaded and it access all the information from main.swf and similarly on clicking button2 another swf file hello2.swf is loadead and so forth.
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Nate Beck Sent: Friday, August 29, 2008 3:58 PM To: [email protected] Subject: Re: [flexcoders] Using view stack to link to mxml Okay, so just to clarify. You're wanting to communicate from one application to another application? They are completely different swf files? Like this? Example HTML page: <html> <head><title>Testing Flex</title></head> <body> <object id="Hello1" width="300" height="200"> <param name="movie" value="Hello1.swf" /> <param name="allowScriptAccess" value="sameDomain" /> <embed src="Hello1.swf" width="300" height="200" name="Hello1" allowScriptAccess="sameDomain" type="application/x-shockwave-flash"> </embed> </object> <object id="Hello2" width="300" height="200"> <param name="movie" value="Hello2.swf" /> <param name="allowScriptAccess" value="sameDomain" /> <embed src="Hello2.swf" width="300" height="200" name="Hello2" allowScriptAccess="sameDomain" type="application/x-shockwave-flash"> </embed> </object> </body> </html> On Fri, Aug 29, 2008 at 3:43 PM, Pankaj Arora <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: I am sorry I dint explain it well. Let me give you one example. Two files attached are 2 mxml applications I have in my project. I load each independently in an .xhtml file. My requirement is when I add text on the text box in Hello1.mxml and click the "click me" button Hello2.mxml is shown and the text box in Hello2 contains the text from the Hello1.mxml text box. Do tell me if you need any more information. Thanks, Pankaj Arora ________________________________ From: [email protected] <mailto:[email protected]> [mailto:[email protected] <mailto:[email protected]> ] On Behalf Of Nate Beck Sent: Friday, August 29, 2008 3:15 PM To: [email protected] <mailto:[email protected]> Subject: Re: [flexcoders] Using view stack to link to mxml I'm a bit confused on how you mean "load another application". You could either load a Component (compiled into your swf) or a Module (compiled separate from your application). >From how I read it, this sounds like you're trying to load one MXML swf inside of another application. One of the easiest ways to do this would be through using Flex Modules (mx:Module). More information would we useful. Cheers, Nate On Fri, Aug 29, 2008 at 2:10 PM, pankajarora_in <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: I have a appplication abc.mxml and there are 2 buttons but1 and but2 in it. WHen I press but1 I need to call to anothe application 1.mxml and when I press button 2 I need to call 3rd application 3.xml. Note that pressing any button pass on data from abc.mxml to 1.mxml and 2.mxml. Any ideas how it can be done. I think viewstack can be one way but any examples will be appreciated.

