Knowledge speaks, but wisdom listens.
- Jimi Hendrix
News
Site News
Latest Comments
Affiliates
Proxies
Contribute!
Chat
Tutorials
Newest Articles
Most Popular
Highest Rated
Latest Comments
Code Samples
Newest Code
Most Popular
Highest Rated
Latest Comments
Blogs
Admins Blog
Newest Blogs
Most Popular
Highest Rated
Latest Comments
Forums
Latest Posts
Latest Topics
Memberlist
[login]
|
[Register]
ActionScript -objects move fast
by: Inactive
Description:
Draw something on the main stage, then convert it to movie clip. After that, add code action to the movie clip. NOTE: if you have problem/ difficulties, you can download the fla source file at http://army.t35.com/code1.fla
Code:
onClipEvent(enterFrame) { // Tells the program what to do when entering the 1st frame init = init + 1; // We make a variable named init. With the value is always increasing by 1 _x = _x + init; // _x is properties that refers to x axis of the object. this way the _x number will always be increasing. }
No Comments for this page.
You Must be
signed in
or a
member
to comment.
Code Stats
18,019
Views
0
Total Comments
0
Rating of 5 (
2
Votes)
Code Options
·
Login to Rate This Code
·
Login to Post a Comment
·
Read more by this author
Related
·
Pre Loader
Your Code Here
"AllSyntax.com" Copyright © 2002-2021; All rights lefted, all lefts righted.
Privacy Policy