Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Site Design / May 2007



Tip: Looking for answers? Try searching our database.

Sound issue in Flash CS3

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jacwright - 31 May 2007 17:42 GMT
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
David Stiller - 31 May 2007 17:45 GMT
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?
jacwright - 31 May 2007 19:15 GMT
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."
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.