Hello everyone,
There is a simple question but a bit confusing one for me.
I want to make a circular motion of any round or arbitrary shaped object by using action script. Should i use a for loop, and if i use it what will be the syntax of it?
Printable View
Hello everyone,
There is a simple question but a bit confusing one for me.
I want to make a circular motion of any round or arbitrary shaped object by using action script. Should i use a for loop, and if i use it what will be the syntax of it?
you mean like:
or do you mean orbiting a point?Code:onClipEvent (enterFrame) {
this._rotation +=_parent.myRot;
}
I have a more advanced example here:
rotation tutorial
hope it helps...[
Here is a tutorial I put together for just this problem:
http://whit.info/blog/2010/03/04/cir...-in-flash-as3/
Good luck!
Whit