Coder Profile - Show off your skills, get a coder profile.
 
 
 
The Author
Anto
Anders Ahlström
Send A Message
Rating
5.00
out of 10
( 1 Ratings )
Please login to rate source codes.

Click here to register a free account with us.
General Details
ActionScript 1 & 2
Posted 3.35 Years Ago
474 Views
Received 1 Rating
More Codes By This Author
Pyramid Drawing Program
fileinfo
Drawing API Program
Array, push() command and...
DosCalculator
Articles By This Author
5 Tips for The GIMP 2
20 Awesome Firefox Plugin...

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.
 
mikeMarek     Posted 3.35 Years Ago
 
 
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
}
Page 1 of 1
More "ActionScript 1 & 2" Source Codes By This Author
Recently Posted "ActionScript 1 & 2" Source Codes
Recently Rated "ActionScript 1 & 2" Source Codes
 
 
Latest News About Coder Profile
Coder Profile Poll
Which sounds better on your coder profiles, and makes more sense to you (think twitter, facebook, etc)?

Followers / Following
Fans / Following
Fans / Fan Of


please login to cast your vote
and see the results of this poll
Latest Coder Profile Changes
Coder Profile was last updated
3.49 Years Ago
Official Blog :: Make A Donation :: Credits :: Contact Me
Terms & Conditions :: Privacy Policy :: Documents :: Wallpapers
Version 1.46.00
Copyright © 2007 - 2012, Scott Thompson, All Rights Reserved