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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to use the click of a mouse to start animation?

Status
Not open for further replies.

Ganman

Technical User
Jan 22, 2008
1
AU
Hi guys,
I'm new at using Macromedia Flash 8 and want to know how can i set an animation to only start when i click the mouse?
Thanks in advance,
Ganman
 
Your animation can be on the main timeline or on a MovieClip. In either cases you have to have [tt]stop();[/tt] in the first frame of the animation so that it does not start playing straight away. Then fire [tt]play();[/tt] on button press. This is the most basic ActionScript of all, and the oldest: Flash 2!

Kenneth Kawamoto
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top