RE: [Flashcoders] Need help problem with sound object

2007-03-08 Thread Smeets, Ben
Try to add that "level0" sound to a specific movieclip instead of
level0. Assigning it to levfel0 is the same as making it global.

Ben 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
creativity
Sent: donderdag 8 maart 2007 14:50
To: [EMAIL PROTECTED]; flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Need help problem with sound object

Hi,
thanks for help, i will try that. But right now my sound is at level 0
and video is at level 3. I stop sound object at level 0 i find sound of
video is also lost.
thanks
Abhi

On 3/8/07, Jiri Heitlager <[EMAIL PROTECTED]> wrote:
> When creating a sound object, you should give a movieclip as it 
> parameter var snd:Sound = new Sound(movieclipReference)
>
> By not assigning a movieclip, you acces the global sound.
>
> Jiri
>
>
>
>
>
>
>
>
>
>
>
>
> creativity wrote:
> > Hi,
> >
> > i have used sound object at level 0 which is controlled by a button 
> > to stop and play.
> > But when sound through sound object is stoped. The sound of video at

> > other level also stops. on setting sound object play again the sound

> > with sound object plays but video sound doesnot. Though on loading 
> > other movie again sound of vieo play perfectly.
> >
> > pls let me know if any boy has some solution.
> >
> > thanks
> >
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training 
> http://www.figleaf.com http://training.figleaf.com
>


-- 
Abhishek Kumar
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Need help problem with sound object

2007-03-08 Thread creativity

Hi,
thanks for help, i will try that. But right now my sound is at level 0
and video is at level 3. I stop sound object at level 0 i find sound
of video is also lost.
thanks
Abhi

On 3/8/07, Jiri Heitlager <[EMAIL PROTECTED]> wrote:

When creating a sound object, you should give a movieclip as it parameter
var snd:Sound = new Sound(movieclipReference)

By not assigning a movieclip, you acces the global sound.

Jiri












creativity wrote:
> Hi,
>
> i have used sound object at level 0 which is controlled by a button to
> stop and play.
> But when sound through sound object is stoped. The sound of video at
> other level also stops. on setting sound object play again the sound
> with sound object plays but video sound doesnot. Though on loading
> other movie again sound of vieo play perfectly.
>
> pls let me know if any boy has some solution.
>
> thanks
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




--
Abhishek Kumar
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Need help problem with sound object

2007-03-08 Thread Jiri Heitlager

When creating a sound object, you should give a movieclip as it parameter
var snd:Sound = new Sound(movieclipReference)

By not assigning a movieclip, you acces the global sound.

Jiri












creativity wrote:

Hi,

i have used sound object at level 0 which is controlled by a button to
stop and play.
But when sound through sound object is stoped. The sound of video at
other level also stops. on setting sound object play again the sound
with sound object plays but video sound doesnot. Though on loading
other movie again sound of vieo play perfectly.

pls let me know if any boy has some solution.

thanks


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Need help problem with sound object

2007-03-08 Thread Smeets, Ben
I believe this had something to do with the scope of the sound object.

E.g.

If you define _root(_level0) as target of the sound, all object at that
level are controlled if you change parameters. If you want to be able to
specifically control 1 sound object, I believe you had to give it it's
own target (movieclip).

var mc:MovieClip = _root.createEmptyMovieClip("Test", 100);
Var o:Sound = new Sound(mc);
...
o.stop();

Good luck,

Ben

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
creativity
Sent: donderdag 8 maart 2007 8:39
To: Flashcoders mailing list
Subject: [Flashcoders] Need help problem with sound object

Hi,

i have used sound object at level 0 which is controlled by a button to
stop and play.
But when sound through sound object is stoped. The sound of video at
other level also stops. on setting sound object play again the sound
with sound object plays but video sound doesnot. Though on loading other
movie again sound of vieo play perfectly.

pls let me know if any boy has some solution.

thanks

--
Abhishek Kumar
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com


This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com