I’m trying to build an intro page to a website I’m working on, and I need to have a button, when pressed, play a movie clip. I’m thinking it’s something to do with loading the movie clip into another movie clip when the button is pressed, but it doesn’t seem to work. Any ideas?
Is the movieclip you’re trying to play on stage alread? If it is then all you need to do is apply this to the button.
on (release){
_root.myMC.play();
}
myMC would be the instance name for that movieclip you’re trying to play after the button is pressed.
That’s what I was thinking. But I need a clip to play when the .swf loads, and I need another one to play when the button is pressed. (A box fades in when the .swf loads, when you click the button, the boxe fade out).
So how can I get the animation to play when the .swf loads?