Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: animating with Actionscript |
From: | Cheri Harder |
Date: | Sat, 6 May 2000 19:09:11 +0100 |
It does seem like I've seen something about this being a problem, but was
unable to locate anything on the MM Technotes. Seems like it has something
to do with rounding (and I do realize you are starting the same distance
both times...). Perhaps you could either start your "left" position a 10th
or .5 or something off from where it is, or change your division to be by 2
instead of 3, so there is not the rounding problem?
~~~~Cheri Harder~~~~~
charderawsolution [dot] com
Advantage Web Solution
www.awsolution.com
>
> Does Flash have a problem with accuracy of coordinates? >
> MORE DETAILS: I am dividing the distance between the icon and it's point
> of rest by 3 to introduce some latency into the animation. "logoX" is the
> icon, "thisX" is the resting point in the following trace output
>
> FROM THE RIGHT, WORKS NO PROBLEM - "difX" goes to 0 and "logoX" equals
> "thisX"
> logoX: 431.9 difX: -0.800000000000011 thisX:431.1
> logoX: 431.6 difX: -0.5 thisX:431.1
> logoX: 431.4 difX: -0.300000000000011 thisX:431.1
> logoX: 431.3 difX: -0.199999999999989 thisX:431.1
> logoX: 431.2 difX: -0.100000000000023 thisX:431.1
> logoX: 431.15 difX: -0.0500000000000682 thisX:431.1
> logoX: 431.1 difX: 0 thisX:431.1
> logoX: 431.1 difX: 0 thisX:431.1
> logoX: 431.1 difX: 0 thisX:431.1
> logoX: 431.1 difX: 0 thisX:431.1
>
> FROM THE LEFT, TROUBLE - "difX" never makes it to 0 and "logoX" never
quite
> equals "thisX"
> logoX: 430.3 difX: 0.800000000000011 thisX:431.1
> logoX: 430.55 difX: 0.549999999999955 thisX:431.1
> logoX: 430.7 difX: 0.399999999999977 thisX:431.1
> logoX: 430.8 difX: 0.300000000000011 thisX:431.1
> logoX: 430.9 difX: 0.199999999999989 thisX:431.1
> logoX: 430.95 difX: 0.14999999999992 thisX:431.1
> logoX: 431 difX: 0.100000000000023 thisX:431.1
> logoX: 431 difX: 0.100000000000023 thisX:431.1
> logoX: 431 difX: 0.100000000000023 thisX:431.1
> logoX: 431 difX: 0.100000000000023 thisX:431.1
> logoX: 431 difX: 0.100000000000023 thisX:431.1
>
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml
Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
Replies
FLASH: animating with Actionscript, T.R. Henigson
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]