944,153 Members | Top Members by Rank

Ad:
Nov 7th, 2007
0

Flash MX 2004 and SOUND issue !URGENT!

Expand Post »
Hi,
I am working on a project at the moment, using flash mx 2004.
I need to get it finished by the end of the day hopefully!

I have a list of 5 items.
Each of these buttons bring you to another frame within the scene
Each of these items require a 1 minute to 2 minute long narration.

How do I make the sound files seperate from all other actions?
I would like for the user to be able to listen to the narration, completely, no matter where else they go on the site. However, if they choose to listen to another narration, it should stop the current narration that is playing first.

I have tried several things to try to get the effect.
Making the button trigger the sound, only makes for overlapping sound files in the event that they happen to click on another button.
Putting the narration in the frame itself means that the user can not go to another frame without stopping the sound.

I want to do this without having to use a stop button as well.

Any thoughts on how to accomplish this?
Thanks in advance.
Similar Threads
Reputation Points: 10
Solved Threads: 6
Junior Poster in Training
sagedavis is offline Offline
86 posts
since Nov 2007
Nov 8th, 2007
0

Re: Flash MX 2004 and SOUND issue !URGENT!

Giving you an idea how to do it. Try it, if encounter any problem post here with your AS. Create a new layer in root. Don't insert any frame except the first. Select the only and the first frame and goto to action panel. Create a sound object.

Now, every button will use same sound object. So no overlapping.

Or if you dont want a common one, just use stopAllSounds()
Reputation Points: 85
Solved Threads: 42
Nearly a Posting Virtuoso
vishesh is offline Offline
1,362 posts
since Oct 2006
Nov 8th, 2007
0

Re: Flash MX 2004 and SOUND issue !URGENT!

Vishesh,
Thanks for this answer.
Fortunately, I figured a way around it. It's a little different than what you suggest, but, I will try yours later on.

Here's how I finally accomplished what I needed.

Each frame, is now actually 3 frames long.

I set it up as follows.
Frame 1 has a "stop movie" script.
Frame 2 has a "stop all sound"
Frame 3, has the sound in the frame.
The button says "go to and play frame 2".
This way, frame 2 tells all the sound to stop but playing on to frame 3, the new sound starts.

Doing it this way is obviously a long way around, but, it worked. I'm too tired to change it now. LOL. But, I'll try your suggestion tomorrow.

Thanks
Reputation Points: 10
Solved Threads: 6
Junior Poster in Training
sagedavis is offline Offline
86 posts
since Nov 2007

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Graphics and Multimedia Forum Timeline: pls help
Next Thread in Graphics and Multimedia Forum Timeline: PVII extension in dreamweaver





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC