It is probably really simple and I am just missing it... I built an intro page
that has sound. I attached 3 other movie files to the intro to play when the
appropriate button is clicked. The sound from the intro will not stop playing
when the other movies are loaded. I can't seem to figure it out... HELP!! :)
Thanks!
Jackie Wright
Jackie,
> I built an intro page that has sound. I attached 3 other movie
> files to the intro to play when the appropriate button is clicked.
Movie files ... do you mean movie clips? Are you loading external SWFs?
> The sound from the intro will not stop playing when the other
> movies are loaded. I can't seem to figure it out... HELP!! :)
Well, it wouldn't ... unless you tell it to stop, right? ;) Are you
playing the audio with ActionScript, or as an asset in the timeline?
David Stiller
Adobe Community Expert
Dev blog, http://www.quip.net/blog/
"Luck is the residue of good design."
jacwright - 31 May 2007 18:16 GMT
I imported swf files into my library and applied the script to a button:
on (release) {
loadMovieNum("Glam_MainPage.swf", 0);
}
on (release) {
stopAllSounds();
}
I thought that should have stopped the sound playing on the intro page.
I added the audio by importing it into my library and creating a new layer
with a keyframe. On that keyframe I used the properties panel to add the sound
from my library.
The other movies that I imported have sound as well, however they do not
overlap each other when I click between pages (movie clips or swfs). Do I need
to have all the "pages" be separate movie clips and put them all into a new
flash file?
Hello
I figured it out! I knew it would be something simple...
On the properties panel I had to turn the "Sync:" to stop.
Thanks for the help! :)
David Stiller - 31 May 2007 19:31 GMT
Jackie,
> I figured it out! I knew it would be something simple...
Yay!
> On the properties panel I had to turn the "Sync:" to
> stop.
Ah, that's good to hear. Yeah, it's not immediately obvious what those
Sync settings are for. The Event setting means that the sound will load
into memory all at once -- from the first frame in which it appears -- and
therefore plays out completely whether or not the playhead moves along the
timeline. The Stream settings means the sound loads on a per-frame basis,
so that if the playhead stops, so does the sound. Stream is good for very
tight syncronization, such as cartoon lipsynching. As you've seen, the Stop
setting stops a sound.
David Stiller
Adobe Community Expert
Dev blog, http://www.quip.net/blog/
"Luck is the residue of good design."