I have made it so a small song streams in flash, I have also made stop and play buttons.
Stream code (which I have placed on a text box):
onClipEvent (load) {
mySound = new Sound();
mySound.loadSound("songofdaday.mp3", true);
mySound.onLoad = function(){
mySound.start(0, 99);
}
}
Play Button Code:
on (release) {
_root.DLbox.mySound.stop();
_root.DLbox.mySound.start(0, 99);
}
It all works flawlessly apart from the ickle fact that it doesn’t loop :-/ :puzzle: :crying: .
Can anyone tell me why it isn’t looping?
I have searched the forums for solutions and all I managed to summise was to add
mySound.onLoad = function(){
mySound.start(0, 99);
}
Which hasn’t made a difference >.<