Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: RE: FLASH: Josh Davis is a tease.
From: T.R. Henigson
Date: Wed, 2 Aug 2000 01:29:20 +0100

What I do is to test the if the xpos of the clip is within a minute
distance of the xpos of the target, for example, if the difference
in xpos is <.005. If so, then I just set the xpos of the clip to that
of the target with a Set Variable statement. Be careful, though,
because Flash seems to have some inaccuracies when dealing with
very small numbers. You may get a situation where the difference gets
down to some amount, eg .0035 and then doesn't get reduced anymore. If
you're testing for a difference less than .0035, you'd never get a true
condition. SO: Trace xpos, check the output, and maker sure your
conditional evaluates to true at some point.

Ted


> Did anyone get to see Josh Davis' fern lecture at FF2K last week?
> i've been
> dying to download his source, but it's not available yet soooo ... lemmie
> ask:
>
> In order to slow his movie clips down when they reached the
> marker, he said
> he check the xpos of the clip, the xpos of the movie, divided by half and
> moved the clip that much. (i *think* that's what he said) He did that so
> the clip would move increasingly more slowly as it reached its target.
>
> What i can't understand is how the clip ever reached its target! If you
> keep dividing the difference by half and moving that much, you'll NEVER
> reach your marker!
>
> Thanks for any help you can give me,
>
> Ryan Creighton
>
> rcreightonatytv [dot] com
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Full flasher archive now available online at:
> http://www.chinwag.com/flasher/archive.shtml
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email helpatchinwag [dot] com
>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Full flasher archive now available online at:
http://www.chinwag.com/flasher/archive.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: Josh Davis is a tease., Ryan Creighton

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]