Flash Embedded Audio/Video & Lectora
October 27, 2009 12:00 AM
Hello Again! When I use attachSound I keep getting errors in the script. When I stream the audio the quality of the audio is horrible.
Basically as an .swf I want to control the whole .swf with Lectora buttons to stop/play/pause - however, it does not pause and when it stops, audio keeps running.
Within Flash, I stream the audio and the quality is pretty bad. So I decided to just place the audio inside the button layer on "down" with "start" as properties, but I then cannot stop the audio. If anyone knows how to accomplish that - It would be a real help!! By the way I am just building upon a project already finished by someone else so it gets frustrating. I just have to sync audio with buttons, but like I said, streaming is bad and I have to find another way
have you tried attachSound? you could then address the sound directly with a stop() or start().
like...
myMusic = new Sound(myMusicMC);
myMusic.attachSound("myMusicLoop");
then you can say...
myMusic.stop();
Discussions have been disabled for this post