Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 07-12-2012, 06:51 PM   #1
wyeth52
Registered User
 
Join Date: Jul 2012
Posts: 1
Question Gesture event rotation problem

Hello... can someone help with this? i have made a dial for an ios as3 app. The dial turns around just fine on its rotation. through the transform gesture event. but i would like to limit the rotation of the dial when the user gets turn it all the way around to back to 0 again or just before that and also not let the dial go backward past the starting point of 0. nothings seems to work for me with conditionals.
RDial being the movieclip to rotate.

private function rotateMe(e:TransformGestureEvent):void{ RDial.rotation += e.rotation;
Degrees = RDial.rotation;


trace(Degrees);
}
}
wyeth52 is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:24 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.