Hi ,

so basically when i call unloadAndStop the swf get unloaded
however the sound played by the swf does not stop.

Thanks.

On May 15, 1:30 pm, Sohil <soh...@gmail.com> wrote:
> Thanks Abhinav for the reply..
>
> i m using the load function from swfloader...
>
> uri is somethinghttp://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" <mehta.88...@gmail.com> 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" <soh...@gmail.com>
> > To: "Flex India Community" <flex_india@googlegroups.com>
> > Sent: Thursday, May 14, 2009 4:02 PM
> > Subject: [flex_india:22247] Issues with SWFLoader.unloadAndStopissue
>
> > > 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...
>
> > > HoweverunloadAndStop() 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 flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to