Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem in makinag button

Status
Not open for further replies.

lorenski

Vendor
Aug 27, 2006
1
PH
i'm using flash pro 8 and i have a problem in putting Action to the button i created

the problem is that i don't know how to make a button that when pressed, a specific object will move

 
Make a button and give it an instance name...
Make an object ( a movie clip ) and give it another instance name...
For example the button's instance name is btn and the movie clip instance name is MC...
Write in the timeline on the frame where are the button and the movie clip:

btn.onPress = function() {
MC.gotoAndStop(10); //or whatever
}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top