View Single Post
  #3  
Old 05-17-2012, 10:48 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Just set the spin value to 1 or something, it'll automatically rotate the image for you.

Your code is also very redundant.

PHP Code:
function onRotateImg() {
  
findimg(3).rotation += 0.05;
  
this.scheduleevent(0.3"RotateImg""");

__________________
Quote:
Reply With Quote