Thanks Abhinav for the reply..

i m using the load function from swfloader...

uri is something http://mydomain/app/
this is the same location where my application swf sits..
<SWFLoader id="abc"/>
<Button  label="Load" click="onLoad()"/>
<Button  label="UnLoad" click="onUnLoad()"/>

public function onLoad():void{
abc.unloadAndStop();
abc.load(uri);
}


public function onUnLoad():void{
abc.unloadAndStop();
}

Thanks


On May 14, 4:46 pm, "Abhinav Mehta" <[email protected]> wrote:
> You should use tag named....
> <mx:SWFLoader source="..." />
>
> I think might be u r giving an absolute path as a source to SWFLoader that
> is why it is creating problem, so for a instance just give the relative path
> by copying the .swf-asset to ur "src" folder.
>
> Regards
> Abhinav Mehta
> MSRIT | Bangalore
>
> ----- Original Message -----
> From: "Sohil" <[email protected]>
> To: "Flex India Community" <[email protected]>
> Sent: Thursday, May 14, 2009 4:02 PM
> Subject: [flex_india:22247] Issues with SWFLoader.unloadAndStop issue
>
> > Hi,
>
> > I m trying to externally load SWF into my application.
> > Knowing the problem of SWF cannot be unloaded in Flex 3.0
>
> > I have downloaded the Flex 3.3 Sdk and configured for my Development
> > Environment and also
> > got FlashPlayer 10 installed...
>
> > However unloadAndStop () still doesnt seem to work...
>
> > Any Ideas ?
>
> > Thanks,
> > Sohil

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to