Alternative to: onClipEvent (load)?

hey guys I’m stuck again,

I’ve got this on a movie clip instance and it works great:

onClipEvent (load) {
tellTarget (“music1”) {
gotoAndPlay(5);
}
}

What I want to do however, is have “music1” play earlier on in the movie. I have a specific frame that I want it to start playing on. I don’t want to wait until this clip loads.

I’ve tried just putting a keyframe on a frame within the main timeline and adding some script but, I can’t make it work. What would be the correct way to do this?

Thanks again,

artane :slight_smile:

Place this on the frame you want it to start playing:[AS]music1.gotoAndPlay(5);[/AS]

thanks claudio, I got it working!

artane

welcome :slight_smile: