Hello All! I’m a newbie when it comes to AS3. I’ve done minimal coding but I’m learning…
Anyways, I was wondering if someone can help me out with this matter. I currently am working on a project that was undertaken by someone else. They have done the Flash bits and I’m just cleaning up and adding audio.
Here’s the issue.
It is just a simple graph that has the legend on the right side. The titles are converted to buttons so when you click on the first title, the graph populates and a snippet/definition of text is brought up underneath the title, audio should then play as well. The way the previous person handled it was a basic script for each title acting as button:
on (release) {
gotoAndPlay(124);
}
So now my issue with adding audio is this:
I add the audio onto a new layer, give it this script and stream it…
myMusic = new Sound(myMusicMc);
myMusic.attachSound(“myMusic01”);
myMusicVolume=100;
myMusic.setVolume(myMusicVolume);
myMusic.start();
But the quality is horrid, so this is no longer an option.:shifty:
Since I’m pretty new at this I’m trying to figure out all sorts of way to link the audio files to each button. There are several titles and corresponding audio snippets to go with them.
I tried just putting the audio on the “down” keyframe within the button but then I don’t know how to stop the sound
I have no clue as to what AS to put in on the each button where they previously have on release play frame…I keep getting errors -I don’t know if something is in confict there.
If anyone can help it would be most appreciated!!!