the reference is named room1Music but the actualy movie clip instance
name is _level0.room1_mc. i've been using the reference before the
sound methods, i.e. room1Music.start(), etc...

im trying to manipulate several sounds independently of another. i
have 4 sound objects; 1 for each media display component i'm using.

i also have 3 other sound objects that i'm using for background mp3s.
i just changed the ones for the mp3s to use attachSound() and now it
is working fine. thanks eric.

but i can't use that method with a media display component. so i'm
trying to figure out the best way to control those.

thank you for your help.

matt.

On 2/27/06, Helen Triolo <[EMAIL PROTECTED]> wrote:
> You can.  But are your sound instances named room1Music or room1?  Does
> it make a difference if you correct that?
>
> Helen
>
> Matt Ganz wrote:
>
> >no. i thought you could just pass in a reference to the sound
> >constructor with the instance name of the movie clip that houses the
> >mp3 file.
> >
> >On 2/27/06, eric dolecki <[EMAIL PROTECTED]> wrote:
> >
> >
> >>I assume you forgot your attachSound code in your email?
> >>
> >>On 2/27/06, Matt Ganz <[EMAIL PROTECTED]> wrote:
> >>
> >>
> >>>hi.
> >>>
> >>>i have 3 sound objects that i'm working with in my app. i have them
> >>>all load when the site launches but i stop() them all at first because
> >>>i don't want them all to start playing. here's the code:
> >>>
> >>>var room1Music:Sound = new Sound( _level0.room1_mc );
> >>>room1.setVolume( 80 );
> >>>room1.stop();
> >>>var room2Music:Sound = new Sound( _level0.room2_mc );
> >>>room2.setVolume( 80 );
> >>>room2.stop();
> >>>var room3Music:Sound = new Sound( _level0.room3_mc );
> >>>room3.setVolume( 80 );
> >>>room3.stop();
> >>>
> >>>each of the sounds is set to 'start' and 'loop' in their respective mcs.
> >>>
> >>>the problem is that when the site launches, room1 sound is stopped but
> >>>room2 and room3 play. why might that be happening? i can successfully
> >>>trigger the room1 sound a little further down in my site via:
> >>>
> >>>room1.start(); // and it starts playing exactly where it should.
> >>>
> >>>i guess i just don't understand why i can stop 1 of the sounds but not
> >>>all.
> >>>
> >>>any insight is greatly appreciated.
> >>>
> >>>thanks. -- matt.
> >>>
> >>>
>
> _______________________________________________
> [email protected]
> 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
>
_______________________________________________
[email protected]
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

Reply via email to