We need to create a button.
Make a simple square, select it and press F8 to make it a library
object. Choose button and name it "Rub Button" for example and press
ok. Select your button and press F8 again to insert your button
in a Movie Clip (MC) now. Name it "Rub MC" for ex, choose Movie
Clip and press ok. Double-click on your MC "Rub MC" and fill the
occur name like "Rub". The occur of a MC is the name targeted by
any action with script, it's totally different than the name of
the object in the library, this last one doesn't matter as contrary
as the occur name !
You should obtain this :
Note : I've set to my file a 150*350 size and 24 f/s (ctrl + m).
|» Level Intermediate|
Rating: 7.99 Votes: 1292
|Daafy works with Flash since 2 years but began to script (never scripted before) since few months with Flash 4. Like you, he began by downloading sources with some white nights, coffee & other...|
|Download the files used in this tutorial.|
|Download (105 kb)|
|More help? Search our boards for quick answers!|