Search tutorials
'
Goto the actions for the movie clip ball and enter the following code.
pre>
onClipEvent (enterFrame) {
if (_root.counter =="100") {
_width;
_height;
EX=false;
}
if (EX) {
_width+=10;
_height+=10;
}
if (ZX) {
_rotation+=10;
_x+=10;
}
}
onClipEvent (enterFrame) {
if (_root.counter =="200") {
ZX=true;
}
if (_root.counter =="560") {
ZX=false;
Fadein=false;
Fadeout=true;
}
}
onClipEvent (enterFrame) {
if (Fadein) {
_alpha +=5;
}
if (Fadeout) {
_alpha -=10;
_width-=10;
_height-=10;
}
}
onClipEvent (load) {
_alpha =0;
EX=true;
Fadein=true;
Fadeout=false;
}
It is finished now test the movie to test the movie click on control and click test movie.
| » Level Basic |
|
Added: 2005-05-28 Rating: 3 Votes: 14 |
| » Author |
| Rate please ^Thank you^ |
| » Download |
| Download the files used in this tutorial. |
| Download (111 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!