I was wondering the same thing, their was a tutorial i was reading on this but it was to complicated for me and i'm pretty sure it was with a different program anyhow.
Printable View
I was wondering the same thing, their was a tutorial i was reading on this but it was to complicated for me and i'm pretty sure it was with a different program anyhow.
Why do You want to stream sounds on a button? This is not what flash was created for. But if you want to, inside of the button use loadMovieNum to load another swf that is streaming.
In fact I have never, ever, heard of someone asking if buttons could be streamed with sounds.
If you say exactly what you want, i can try to explain it. Maybe. i will try.
I've built an online Flash presentation. It works much like a PowerPoint presentation. Each frame (slide) has different content with separate voice audio. I want each frame (slide) to have a button to turn on the audio for that frame. I don't want the audio to automatically run when the "next slide" button is clicked. Some users will not want to haer the audio. I want to stream the voice audio files because that way they are not part of the flash file (too large). I've tried the idea of converting the audio to swf files and loading them, but when the sound buttons are pushed to hear them they have to completely load before starting. Make sense? This doesn't seem that strange to me, but maybe I'm going about this in weird way.
Thanks
I can solve this for you, but what sucks is that you live where I do??? I looked at your postings and you post the same questions over and over. You can solve this problem yourself with little effort.
I asked politely and I appreciate the help I receive. You're under no obligation to answer my request for help. If you do, that's great. I can see that the questions I ask are often revelant to what other KM users are wondering as well. This post is evidence of that, so if you can help, great. If not, that's okay as well.
You said that you don't like loading the swf's because they don't play until they are loaded. So you know how to load a swf already. And I believe you know how to stream sounds. So just load the swf with the streaming sounds with a button. It will work effectivly. It may get confusing because you have movies loaded into other movies. If you really can't get this to work, post again and I will give an example.
I don't see a problem with this at all. Take for example 5 Key movie frames in your main movie. Your menu then points to 1,2,3,4 and 5. On each frame you put two extra buttons "Listen to my Bu!! *****" and "Shut up Please". First button says "Load bull1.swf" and the second button says "unload movie at level 1". You must also remember to put the same "unload movie at level 1" on each of your menu buttons so that your spiel doesn't carry over on to the next scene. That should work without any problems and it's dead simple. If you are using multiple loaded movies then you will have to work out which layer you need to unload on each button command. Thats it.
If you want the sound to preload then put the buttons into your sound swf and put an "actions and sounds" (stop movie) command after the 2nd frame, then put a "load movie bull1.swf on your main menu buttons. The sound swf should load and then stop until you hit the button to play the movie.
http://www.diversioncentral.com/mp3/presentation.html
The music is not included with the zips. This loads a presentation. The user hit the sound button or just reads what is there. Then he can stop the sound at anytime. Then he hit the next button and starts all over:)
If you want the sound to preload then put the buttons into your sound swf and put an "actions and sounds" (stop movie) command after the 2nd frame, then put a "load movie bull1.swf on your main menu buttons. The sound swf should load and then stop until you hit the button to play the movie.
gusmus, I'm with you about everything except the above statement. I do need the sound swf's to preload so when the buttons are pushed the sound is instantaneous. When I preload them using "actions and sounds" and then use a stop movie command after the second frame the swf is not there when hit the button to play it. What am I missing? BTW, here a link to what I'm working on...http://www.inspireddesign.biz/movie.html