OZONE Asylum
Forums
Multimedia/Animation
Thanks a lot Steve....
This page's ID:
11221
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Krets: Math.exp returns a natural logarithm - a constant, "e" which people much smarter than I need to explain to you. For your problem : Xspeed^5 , use the Math.pow(x, y); where: x is the number and y is the power example Math.pow(Xspeed, 5); Give it a try. For testing just plug in easy values like 10 and 2. I use the trace function a LOT to debug. So for example, a line: trace(Math.pow(10, 2)); should pop up a window with 100 in it. Then change the trace to trace(Math.pow(Xspeed, 5)); and see what comes up. Get friendly with trace(); - all manner of frustrating bugs can arise because you think something is going to happen and it doesn't. trace can show you if the variable you *think* are there really are. [This message has been edited by Steve (edited 09-24-2001).]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »