Kumar, SWFLoader loads the requested SWF inside your flex app, if that is what you are trying to achieve then the following code will load an SWF that is located in the same directory as your .mxml file. Just take out the @Embed().
<mx:SWFLoader id="Load" source="myswf.swf" autoLoad="true" height="100" width="350"/> Good luck. Jenn --- In flexcoders@yahoogroups.com, "Samuel Reuben" <[EMAIL PROTECTED]> wrote: > > I don't get it Kumar, > > Are you trying to open a stand alone swf from a IE browser (Explorer) by > using SWFLoader??? That is clearly not possible. > or are you trying to open it from your computer's file Explorer? That is > possible if you have the stand alone player on your machine... > You could do a open with... Flash player. > > Please let me know what you are trying to achieve? > > Thanks, > -sam > > > On 8/24/06, Kumar <[EMAIL PROTECTED]> wrote: > > > > I am using below code for running an swf file. > > > > > > > > <mx:SWFLoader id="Load" source="@Embed(source='c:/flash.swf')" > > height="100" width="350"/> > > > > > > > > And this opens the file in explorer can we do some thing to open this file > > directly in flash player. > > > > > > > > Can anybody suggest some solution. > > > > > > > > > > > > > > > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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/