Search tutorials
ok, start off by opening a new flash doc. if you haven't already. Then make an object(what ever you want) into a button. The name doesn't effect the script ill show you. now that its a button if you right click your object, you'll see ab edit button, click it. you should see 4 frames. The first frame holds your image and the others are blank. insert a key frame in there and your object will pop up in that frame. If you want it to change color when you scroll over it, change the inner color, if you want to get bigger, use the free transform tool. if you want it to play a sound, download the sound you wish, (i prefer flash kit) and download as a wave. then in flash import it into library and drag it to your object. ok, exit out of that and make a new key frame. on each of those frames right click it and goto actions, hit the STOP action and go back to your object. If you don't put the stop, your game will just play like a vid.
Now on the second frame type something like test so you know it worked. Now that your frames are ready, right click your button and select actions. in there insert the following:
on(release){;_root.gotoAndPlay(2);}
that will make your button goto the next frame. Now this is only 1 tutorial so ill make others, but til then il finish by showing you how to make custom cursors. Make any item you wish into a MC(movie clip) and in the actions like i showed you, insert this code:
onClipEvent (enterFrame) { this._x = _root._xmouse; this._y = _root._ymouse; Mouse.hide(); }
Now on the second frame type something like test so you know it worked. Now that your frames are ready, right click your button and select actions. in there insert the following:
on(release){;_root.gotoAndPlay(2);}
that will make your button goto the next frame. Now this is only 1 tutorial so ill make others, but til then il finish by showing you how to make custom cursors. Make any item you wish into a MC(movie clip) and in the actions like i showed you, insert this code:
onClipEvent (enterFrame) { this._x = _root._xmouse; this._y = _root._ymouse; Mouse.hide(); }
| » Level Intermediate |
|
Added: 2007-10-27 Rating: 1.95 Votes: 21 |
| » Author |
| I learned from flashkit, but some of the tuts are hard to follow so ill make some. |
| » Download |
| Download the files used in this tutorial. |
| Download (0 kb) |
| » Forums |
| More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.


Comments
There are no comments yet. Be the first to comment!