Home Tutorials Forums Articles Blogs Movies Library Employment Press

 ActionScript.org Forums crazy numbers
 Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

 12-19-2005, 12:45 PM #1 lelales forever learning     Join Date: Aug 2004 Location: New Olreans Posts: 1,261 crazy numbers I have some code from a friend but I don't want to ask him any questions, it was hard enough getting the code. Well he uses some crazy math and a tweening forumula that is about 600 lines long. I'm sure he downloaded the tweening forumla though but I can't figure out where. Anyway, in his custom functions he uses some crazy math. Can anyone explain these numbers to me? Code: ` _root["thumbCont" + y].alphaTo(0, 4.000000E-001, "linear", 6.000000E-002 * y);` thanks
 12-19-2005, 01:06 PM #2 Morg 1st party software!     Join Date: Nov 2003 Location: South Africa Posts: 916 That is from the tweening class by Robert Penner. I think if you google it, you will find it. You need to install the extension, then the numbers will make sense to you.
 12-19-2005, 02:11 PM #3 lelales forever learning     Join Date: Aug 2004 Location: New Olreans Posts: 1,261 thanks Morg Yes I was looking to see where the easing equations came from. I downloaded Robert Penner's easing equation for AS 1.0 and AS 2.0, but they look a little different than what I have in my FLA. Though I understand easing and how it works, I don't understand these numbers: Code: `4.000000E-001` and Code: `6.000000E-00` What is the "E" for? And why all the zeros? thanks
 12-19-2005, 02:18 PM #4 Morg 1st party software!     Join Date: Nov 2003 Location: South Africa Posts: 916 Im pretty sure you can lose those... When you have a really long/small number in mathematics, you generally say eg 16.00e-12 or something (Not 100% sure of how its written). Try taking it out, and see what the easing does.

 Thread Tools Display Modes Rate This Thread Hybrid 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 Off 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

 Similar Threads Thread Thread Starter Forum Replies Last Post HotSalt ActionScript 1.0 (and below) 2 08-07-2004 03:36 AM c2kman ActionScript 2.0 38 06-23-2004 01:14 AM rkdresden ActionScript 1.0 (and below) 2 06-02-2004 10:10 AM VideoGuy ActionScript 1.0 (and below) 8 04-06-2004 01:56 PM

All times are GMT. The time now is 04:02 PM.

///