This is what I’m trying to accomplish: http://www.threadless.com/submission/127161/The_Revenge?streetteam=Legion+of+Doom
Click on the magnifying glass then move your mouse up and down. When we submit to Threadless, we are required to submit at 30 FPS. If you set it to anything higher, it will automatically downsize you to 30 FPS. When I attempted to emulate this, my animation is not nearly as smooth as that. Take a look at my SWF file attachment. (Just an example of an old design of mine - not what I’m going to submit). Did the guy use a more advanced programming than I did?
Frame 1:
[AS]
origX = box._x;
[/AS]
Frame2:
[AS]
nowX = _root._xmouse;
diffX = nowX - origX;
box._x += diffX / 6;
[/AS]