•
•
•
•
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
![]() |
•
•
Join Date: Nov 2007
Posts: 86
Reputation:
Rep Power: 2
Solved Threads: 6
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.
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.
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()
Now, every button will use same sound object. So no overlapping.
Or if you dont want a common one, just use stopAllSounds()
•
•
Join Date: Nov 2007
Posts: 86
Reputation:
Rep Power: 2
Solved Threads: 6
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
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
![]() |
•
•
•
•
•
•
•
•
DaniWeb Graphics and Multimedia Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
adobe animations beta dell development explorer files flash flash flv gradient graphics hard drive hardware ie7 intel interactivity. internet laptop linux media memory microsoft multimedia news nvidia open-source opengl peripherals photoshop preview sandisk scripting security streaming video web web development
- No system sounds or sounds in flash (Windows NT / 2000 / XP / 2003)
- Flash 8.0 Vs Flash Mx 2004 (Graphics and Multimedia)
- Flash 5, MX, or 2004? (Graphics and Multimedia)
- pls heeeeeeeeelp its urgent. (C)
- Urgent! (C++)
- sound issue (Windows NT / 2000 / XP / 2003)
Other Threads in the Graphics and Multimedia Forum
- Previous Thread: pls help
- Next Thread: PVII extension in dreamweaver



Linear Mode