Thank you for the responses. I tried Blake's suggestion and it has gotten me closer to what I want to happen. Much appreciated.
--- In flexcoders@yahoogroups.com, "Blake Barrett" <[EMAIL PROTECTED]> wrote: > > you can either use a Loader in ActionScript, the loaded swf will be in > its .content property; or you could use an <mx:SWFLoader > source="http://myUrl.com"/> component and again the loaded swf will be > in its .content property. > As Tracy pointed out you cannot control anything that is compiled for > flash 8 or below without using LocalConnection. If it has been compiled > for Flash 9 or AS3 then you can just reach into it and control things > that way... like this: > > private function init () : void{ > var myLoader : Loader = new Loader (); > myLoader.addEventListener (Event.COMPLETE, loaderHandler); > myLoader.load (new URLRequest ( 'http://www.myUrl.com' ); > > } > private function loaderHandler (e : Event):void{ > // add some code to throw it on the stage > (myLoader.content as MovieClip).play(); // <-- that doesn't work if > the swf is a Flash 8 or older swf > } > > Hope that helps. > > Blake > > ________________________________ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Tracy Spratt > Sent: Thursday, March 06, 2008 9:00 AM > To: flexcoders@yahoogroups.com > Subject: RE: [flexcoders] Re: Embedding a SWF file in Flex > > > > Ba aware that it is difficult to communicate with an AS2-based swf from > an AS3 application, expecially if you have no control over the loaded > swf. > > Tracy > > ________________________________ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of mailtoanzer > Sent: Thursday, March 06, 2008 4:59 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: Embedding a SWF file in Flex > > Use SWFLoader > > Ansar > http://www.FlickrMailer.com <http://www.FlickrMailer.com> > > --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > , "CO_China_Girl" mi2yosh@ wrote: > > > > I have a SWF file that I did not create nor do I have the source for > > but I would like to embed it into my Flex application. Is this > > possible to do? If so, how? > > >