Why is my sound not working in Flash?
- by animuson
This is what I have as far as code, it is in the first frame of the movie.
nature = new Sound(this);
nature.attachSound("sound_naturally");
nature.setVolume(50);
nature.start(0,0);
nature.onSoundComplete = function(){
nature.start(0,0);
}
trace(nature);
The trace outputs '[object Object]' at runtime.
I have the sound exporting to ActionScript with the link identifier 'sound_naturally', not exported to the first frame. I don't understand why it's not working. I did like the exact same thing like 3 hours ago and it worked fine, but I lost the file so I had to redo it and now it won't work at all.
Using Flash 10 with ActionScript 2.0