AS2 -problems with loaded object
I have a loder that loades swf that plays on enterFrame event .
I want the sound from the loaded swf will start on RollOver event , and not开发者_如何学运维 at the moment when the obhect is loaded.
Did you try simply create an rollOver event, and move there your code that start sound? I would suggest also create some flag which you will set in loader, this way you will know if the sound is already available or not
some_object.onRollOver = function() {
if(sound_available == true){
//your play sound code here
}
}
精彩评论