Tutorials Home
What's New
Top Rated
Submit
myTutes
Random!
Action Script Movie
Author: Lorenzo
| Website: www.worldwebs.741.com/go.html |
'
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: 2.64 Votes: 14
Hits: 612
|
| » Author |
|
Rate please
^Thank you^
|
| » Download |
|
Download the files used in this tutorial.
|
|
Download (111 kb)
|
|
Get conversion and unzipping tools
for PC and Mac here!
|
| » Forums |
|
More help? Search our boards for quick answers!
|
|
Please rate this tutorial, 10 is the top rating, you can also click the
comments link to read/write a review.
|
|
|