Hi, Instead of using the external swf file use the sound class and MP3 file to do this functionality. Then it will solve your problem other wise you have to use load and unloadAndStop() method alternatively.
On Sun, Jun 13, 2010 at 11:28 PM, Santosh <[email protected]> wrote: > Hi, > before loading second swf try this piece of code to stop first swf > var ss:swfloader > ss.unloadAndStop() > > On Jun 11, 3:19 pm, jc <[email protected]> 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 > > -- > 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]<flex_india%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. > > -- 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.

