Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. function cubeRotate(e:Event){
  2. mycube3d.rotationY = mycube3d.rotationY+1;
  3. mycube3d.rotationX = mycube3d.rotationX+1;
  4.  
  5. }
  6. stage.addEventListener(Event.ENTER_FRAME,cubeRotate);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement