You can't embed HTML like this in a Flex Application. I'd look into the Loader class ( http://livedocs.adobe.com/flex/2/langref/flash/display/Loader.html ) to see about loading those swfs in your Flex App.
I would expect you have to load up both SWFs and that they would need a way to communicate to each other. I only see one SWF in your code, so I'm not sure why that snippet would load two SWFs, unless the swf was loading both of them. unestahl wrote: > I would like to embed the following HTML > code snippet into Flex, so I can stream the audio SWF file. How can I > do that? Is there something equivalent in Flex that will accomplish > the same thing? BTW, this is an output grabbed from MP3 Sound Stream. > > There are two SWF files: one > contains an audio file and the other a control file for the audio. > When the HTML snippet is cut and pasted into an HTML page, it works as > it should by being able to start/stop/pause the audio, etc. If I use > the SWF loader, I get one or the other, and not both. > > Can you help? > > <p> > <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" > codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,0,0" > width=230 height=130 align="absmiddle"> > <param name=movie value="mp3ss1d.swf"> > <param name=quality value=best> > <param name=wmode value=transparent> > <param name=bgcolor value=#FFFFFF> > <param name=loop value=true> > <embed src="mp3ss1d.swf" quality=best wmode=transparent > bgcolor=#FFFFFF loop=true width=230 height=130 > type="application/x-shockwave-flash" > pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" > align="absmiddle"> > </embed> > </object> > NPR - Fresh Air > </p> > -- Jeffry Houser, Technical Entrepreneur Adobe Community Expert: http://tinyurl.com/684b5h http://www.twitter.com/reboog711 | Phone: 203-379-0773 -- Easy to use Interface Components for Flex Developers http://www.flextras.com?c=104 -- http://www.theflexshow.com http://www.jeffryhouser.com -- Part of the DotComIt Brain Trust

