User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Graphics and Multimedia section within the Web Development category of DaniWeb, a massive community of 456,232 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,755 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Graphics and Multimedia advertiser: Internet Marketing Services
Views: 862 | Replies: 2 | Solved
Reply
Join Date: Nov 2007
Posts: 86
Reputation: sagedavis is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 6
sagedavis sagedavis is offline Offline
Junior Poster in Training

Help Flash MX 2004 and SOUND issue !URGENT!

  #1  
Nov 7th, 2007
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.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Oct 2006
Location: India
Posts: 1,289
Reputation: vishesh is on a distinguished road 
Rep Power: 5
Solved Threads: 32
vishesh's Avatar
vishesh vishesh is offline Offline
Nearly a Posting Virtuoso

Re: Flash MX 2004 and SOUND issue !URGENT!

  #2  
Nov 8th, 2007
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()
Reply With Quote  
Join Date: Nov 2007
Posts: 86
Reputation: sagedavis is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 6
sagedavis sagedavis is offline Offline
Junior Poster in Training

Re: Flash MX 2004 and SOUND issue !URGENT!

  #3  
Nov 8th, 2007
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
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Graphics and Multimedia Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Graphics and Multimedia Forum

All times are GMT -4. The time now is 5:04 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC