Hi,

Thank you Pravin. The solution did not work. The unloadAndStop() is available 
in sdk 3.3. I tried it also. But of no help. For testing with the 
unloadAndStop() method, I tried out another example. Now, I had a SWFLoader, 
one button for loading the swf (with sound), and another button for Stopping. 
In the first button, I wrote code for loading the swf into the SWFLoader. In 
the second button, I called the unloadAndStop() method on the SWFLoader.

Even after unloadAndStop() method is called, I am able to hear the sound of the 
swf file that was loaded.

Regards,
Kumar

--- In [email protected], "p...@... Uttarwar" <pravinuttar...@...> 
wrote:
>
> Hi,
> if you are using same SwfLoader then try,
>         swfloader.load(null);
>                and/or
>         swfloader.unloadAndStop(true);
> 
> Hope this will help.
> 
> Thanks & Regards,
> 
> Pravin Uttarwar | Perennial Systems
> pravin.uttar...@... | Cell: +91 9371288080 | Tel: +91 (020)
> 2421 1286 Ext:2007
> 
> 
> On 14 June 2010 12:00, chandruflex <chandruf...@...> wrote:
> 
> >
> >
> > Hi,
> >
> > I am using Flex sdk 3.0. In an example I am trying out, I have a SWFLoader
> > and 2 Buttons. When the first Button is clicked, I am loading the SWFLoader
> > with a swf file (that has sound). When the second Button is clicked, I am
> > loading the SWFLoader with a different swf file (that has sound too).
> >
> > The issue I am facing is - when the second swf file is playing, I am
> > hearing sounds from both the swf files.
> >
> > I am just using the SWFLoader's load() method in each of the Button's
> > click-event-handlers.
> >
> > Could anybody help me how I could solve this issue?
> >
> > Thank you.
> >
> > - Kumar
> >
> >  
> >
>


Reply via email to