Re: [Flashcoders] Stopping sounds inside the loaded SWF.

2005-11-18 Thread Ian Thomas
If the sounds are embedded in the timeline, it may be possible to replay
them just by doing a myClip.gotoAndPlay(1)

If they're ActionScript based sounds, it entirely depends on the
ActionScript in the child movie. Again, depending on the code,
myClip.gotoAndPlay(1) might work.

HTH,
Ian

On 11/18/05, Dhiraj Girdhar <[EMAIL PROTECTED]> wrote:
>
> Thanks Ian, it worked.
> Any way by which it can be played again?
>
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Stopping sounds inside the loaded SWF.

2005-11-18 Thread Dhiraj Girdhar
Thanks Ian, it worked.
Any way by which it can be played again?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ian
Thomas
Sent: Thursday, November 17, 2005 7:27 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Stopping sounds inside the loaded SWF.

>From memory...

Assuming myClip was a reference to the loaded MovieClip:

new Sound(myClip).stop();

HTH,
Ian

On 11/17/05, Dhiraj Girdhar <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I have a SWF file which contains sound (whether in the form of sound
> object or streaming).
>
> I loaded that SWF in another movie clip using LoadMovie.
>
> Now, I want to stop the sounds of that SWF, how to do it?
>
> There is a way of stopAllSounds, but it also stops the sounds in main
> SWF.
>
>
>
> Can anyone suggest whether it is possible or not?
>
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Stopping sounds inside the loaded SWF.

2005-11-17 Thread Ian Thomas
>From memory...

Assuming myClip was a reference to the loaded MovieClip:

new Sound(myClip).stop();

HTH,
Ian

On 11/17/05, Dhiraj Girdhar <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I have a SWF file which contains sound (whether in the form of sound
> object or streaming).
>
> I loaded that SWF in another movie clip using LoadMovie.
>
> Now, I want to stop the sounds of that SWF, how to do it?
>
> There is a way of stopAllSounds, but it also stops the sounds in main
> SWF.
>
>
>
> Can anyone suggest whether it is possible or not?
>
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders