Home Tutorials Forums Articles Blogs Movies Library Employment Press

 ActionScript.org Forums Rotate vs Rotation
 Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

 04-03-2010, 03:11 AM #1 FEK315 Senior Member   Join Date: Mar 2004 Location: seattle Posts: 348 Rotate vs Rotation Is "rotate" used for direction or is it used to specify how many 360 revolutions an MC should make? Is "rotation" a value, like a number .5 that relates to one 360 revolution? Meaning, negative is CCW, Positive is CW, Rotate = number of 360 revolutions, and Rotation= the increments that make up a single 360 revolution? Sorry if this is a knewb question. __________________ Ghost bear, Mecha Veteran of the Hia Shi Dao, Neroimus, Davion and PAX Economics Wars. "Man, I have seen a lot of oil spilled!" Last edited by FEK315; 04-03-2010 at 06:10 AM.
 04-03-2010, 06:45 AM #2 lordofduct Senior Member     Join Date: Feb 2008 Location: West Palm Beach, FL Posts: 3,872 1) why not try testing it... you would see how it ends up working 2) methods tend to mean what they say they are. rotate - verb - changes the rotation by the amount you rotate by. So if you are at 30, and you rotate by 60... the result is 90. Sign denotes direction... so if at 75 and rotate by -15, you end up at 60. rotation - noun - the actual current value... setting this updates it to the value passed. So no matter what rotation is, setting it to 60 results in 60. Furthermore the way you do this infers the action. rotate(...) is a method/function. Function infers the idea that you are performing an action on something. rotation on the other hand is a property, a value that is set. __________________ www.lordofduct.com - come read my blog! If you want to know how to program, take a math class, take a lot of math classes!
 04-03-2010, 04:47 PM #3 FEK315 Senior Member   Join Date: Mar 2004 Location: seattle Posts: 348 Thank you LordofDuct. I like the experiment it out approach. __________________ Ghost bear, Mecha Veteran of the Hia Shi Dao, Neroimus, Davion and PAX Economics Wars. "Man, I have seen a lot of oil spilled!"

 Thread Tools Display Modes Rate This Thread Linear Mode Rate This Thread: 5 : Excellent 4 : Good 3 : Average 2 : Bad 1 : Terrible

 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 Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home ActionScript Forums Group     ActionScript 3.0     ActionScript 2.0     ActionScript 1.0 (and below)     Simple Stuff (Newbies) Flash General Questions     Flash 10 General Questions     Flash 9 General Questions     Flash 8 General Questions     Other Flash General Questions Flex     Flex 2, 3 & 4     Flex 1 Extensions and Plugins     Components     JSFL - Extending Flash Desktop, Mobile and non-browser Environments     AIR (Apollo)     FlashLite / Portable Devices Development     Projectors and CDs Supporting Technologies     HTML and JavaScript     haXe     Server-Side Scripting     Flash Remoting     Flash Media Server General     Best Practices     Gaming and Game Development     Animation and Effects     Flashants Support Forum Community Boards     General Chat     Just for Kicks Challenges     Detention Flash In Action     Site Check     Cool Sites     Widgets Decommissioned     Projects and Positions CMS Forums     Announcements Board     Content Postings / Updates     Product Review Requests     CMS Technical Questions     Process Questions     Collaboration & Suggested Articles

All times are GMT. The time now is 05:56 AM.

///