Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Re: FLASH: BEST WAY TO TURN OFF SOUNDS ON LEVELS? |
| From: | David Doggett |
| Date: | Mon, 17 Jan 2000 22:23:11 GMT |
Thanks. That is exactly what I need to do.
----- Original Message -----
From: Dave Hollinden <dhollinden
To: <flasher
Sent: Monday, January 17, 2000 5:37 PM
Subject: RE: FLASH: BEST WAY TO TURN OFF SOUNDS ON LEVELS?
> You can keep track of the current sound file's name in a variable, such
as:
>
> Set Variable: "currentsound" = "musicfile2"
>
> Then when you need to turn off the sound, your sound on/off button
performs
> these actions:
>
> On (Release)
> Begin Tell Target ("_level10")
> Go to and Stop (Eval(/:currentmusic) & off)
> End Tell Target
> End On
>
>
> and to turn it back on:
>
> On (Release)
> Begin Tell Target ("_level10")
> Go to and Stop (Eval(/:currentmusic) & on)
> End Tell Target
> End On
>
> Of course, in your music.swf (that I've assumed you've loaded into level
> 10), you have to have a label for musicfile2on where you place the sound
> file set to loop, and a label musicfileoff where you place the same sound
> file with the Sync set to Stop.
>
> Dave Hollinden
> Web Design Team Lead
> dhollinden
>
> -----Original Message-----
> From: David Doggett [dave
> Sent: Monday, January 17, 2000 10:28 AM
> To: flasher
> Subject: Re: FLASH: BEST WAY TO TURN OFF SOUNDS ON LEVELS?
>
>
> What about if I am using multiple music loops and after I turn one off I
> need to know the last one that played and play it again when the user
turns
> the music back on?
>
> What is the best way to achieve this?
>
> Thanks
> ----- Original Message -----
> From: Dave Hollinden <dhollinden
> To: <flasher
> Sent: Monday, January 17, 2000 12:03 PM
> Subject: RE: FLASH: BEST WAY TO TURN OFF SOUNDS ON LEVELS?
>
>
> > Unloading the level is good if you don't intend to use the music or
> > narration again because it frees up RAM.
> >
> > If you want the option to play the music again, for instance, then
include
> a
> > new key frame in music.swf labelled Off. In that keyframe, place your
> music
> > sound file, but in the Sound Properties dialog box set the Sync property
> to
> > Off. Then when you want the music to stop, do a TellTarget to _levelX
> with
> > the action Goto and Stop Label Off.
> >
> > Dave Hollinden
> > Web Design Team Lead
> > dhollinden
> >
> > flasher is generously supported by...
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > Streaming Media WEST '99 Conference & Exhibition
> > "The Worlds largest Internet Audio & Video Event"
> > December 7 - 9, San Jose Convention Center, California
> >
> > Reserve your space today at http://www.streamingmedia.com
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > To unsubscribe or change your list settings go to
> > http://www.chinwag.com/flasher or email help
> >
>
>
>
> flasher is generously supported by...
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Streaming Media WEST '99 Conference & Exhibition
> "The Worlds largest Internet Audio & Video Event"
> December 7 - 9, San Jose Convention Center, California
>
> Reserve your space today at http://www.streamingmedia.com
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email help
>
>
> flasher is generously supported by...
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Streaming Media WEST '99 Conference & Exhibition
> "The Worlds largest Internet Audio & Video Event"
> December 7 - 9, San Jose Convention Center, California
>
> Reserve your space today at http://www.streamingmedia.com
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email help
>
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California
Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email help
Replies
RE: FLASH: BEST WAY TO TURN OFF SOUNDS O, Dave Hollinden
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

