Matt, I tried your suggestion, and something weird is happening...
In my code, I have (I also tried creating a variable): <mx:Image source="boxes.swf?line1=TESTLINE1"/> At this point, I'm just hardcoding to test this. If I request my mxml application with this Image tag in it, I can see that it makes the correct request (GET /boxes.swf?line1=TESTLINE1), however, line1 in the movie is undefined. If I make the same exact request via a browser (http://localhost:8080/boxes.swf?line1=TESTLINE1) line1 has the value passed. It's like the Image tag is resetting all the variables I pass to my movie to 'undefined'. Any idea? I can't think of any other way of getting variables to my flash movies in Flex. Thanks in advance! - Josh --- In flexcoders@yahoogroups.com, "Matt Horn" <[EMAIL PROTECTED]> wrote: > You can append query string params to pass variable data to an included > SWF. psuedoexample: > > var src = "IncludedTestFile.swf?myVar=" + myVar; > ... > <mx:Image source="{src}" /> > > > HTH, > > matt horn > flex docs > > > > ________________________________ > > From: flexcoders@yahoogroups.com > [mailto:[EMAIL PROTECTED] On Behalf Of cazzaran > Sent: Thursday, May 12, 2005 11:51 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Pass variable to mx:image tag > > > I need to include an external SWF file that takes variables to > display > some content. It's just a banner, so the mx:Image tag is > sufficient, > except that I can't figure out how to pass variable information > to it. > There's talk of a flashVar tag, but that's for JSP, and it > doesn't look > like there's an equivilant mxml tag. > > My include is basic, and looks like <mx:Image > source="banner.swf" /> > > Any help is appreciated! > > -Josh > > > > > ________________________________ > > Yahoo! Groups Links > > > * To visit your group on the web, go to: > http://groups.yahoo.com/group/flexcoders/ > > * To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > * Your use of Yahoo! Groups is subject to the Yahoo! Terms > of Service <http://docs.yahoo.com/info/terms/> . Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/