|
General Details
|
|
ActionScript 1 & 2
|
|
Posted 3.35 Years Ago
|
|
474 Views
|
|
Received 1 Rating
|
|
MC which rotates forever
Description
This little short script might be useful for starters to get to know a bit about AS2.0 programming. It uses variables, onClipEvent();, this, and _rotation
Technical
Flash with support for AS2.0
Source Code
Comments
| Please login to post comments. |
|
|
Nice beginner tutorial to help out people just getting into the language, but it's bad coding practice to place code on movieclips. Try this:
//place on same frame of movieclip
var speed:Number = 5;
function onEnterFrame():Void {
myMc._rotation += speed;
//mcMc is the instance name of the movieclip
}
|
More "ActionScript 1 & 2" Source Codes By This Author
Recently Posted "ActionScript 1 & 2" Source Codes
Recently Rated "ActionScript 1 & 2" Source Codes
|