Link button with MC

Hi guys,

How can I do this with the button when u click on and the MC play? Please check the site and see wht I mean…Click on one of the link from the top…( who we are, what we do, ect…) http://www.morneausobeco.com/EN/default.asp

Please attach a flash sample…Thank you

Bobby,

bobby -

first of all, you should search the forums before you ask a question like this. this is one of the most commonly asked questions about flash mx interactivity, and you’ll find that answers abound on this forum about your question.

that said, i was bored so i did it for you anyways.

for your movie clip, make sure the first and last frames contain stop(); actions to ensure that the movie clip does not play before it is told to.

next, you’ll need to give it a relevant instance name using the properties panel.

after that, select your button and add the following code to it (where box_mc is the instance name of the movie clip):

on(release){
	_root.box_mc.gotoAndPlay(2);
}

this tells flash that when the button is released, go to the root timeline, find box_mc and play its second frame.

hope that helps. (see attached for example)

I agree. I posted this yesterday:

http://www.kirupaforum.com/forums/showthread.php?s=&threadid=25707

It has a link with a tut on it to.

thank you guys…

Bobby