• 0

AS2 - Need some help


Question

I've only just started playing around with Actionscript, i know its nothing as special as C+ or Java etc, but if you could help me with this i'd be gratefull!.

I'm just messing around making a drag and drog dress up game (Based around a Tattoo studio), I've designed my own artwork that can be placed on a characters knuckles. However, i'm wanting to make a button were when you drag an object to it the object then rotates and is fixed in the new angle.

This is the code i've got so far;

onClipEvent (enterFrame) {
	 i = getProperty(this,_rotation); 
	 setProperty(this,_rotation,i + 1); 
}

This just rotates the button when loaded.

Can someone help?

Edited by Noxa.
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.