Flasher Archive

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


Subject: RE: FLASH: BUG or solution
From: Branden Hall
Date: Tue, 23 May 2000 19:05:56 +0100

WHat you need to do is to track the polarity of the variable in a separate
variable... the only time you want the actual variable to go negative is if
the polarity CHANGES... for example, if the object is supposed to go from
100 -> -20 then the scale will be negative, if it is supposed to go from -20
to -100 the scale will be POSITIVE.

-= Branden J. Hall
-= Multimedia Developer/Instructor
-= Fig Leaf Software - "We've got you covered!"

-----Original Message-----
From: owneratchinwag [dot] com [owneratchinwag [dot] com]On">mailto:owneratchinwag [dot] com]On Behalf Of Matt
Wobensmith
Sent: Tuesday, May 23, 2000 1:41 PM
To: flasheratchinwag [dot] com
Subject: Re: FLASH: BUG or solution


Hi Jason -

You wrote:

>I am setting the x-scale of a movie clip to a negative number, and this
>starts messing up the movie clip.

Your sample was very informative - thanks for that - and I've seen this
before myself.

What I think is happening is that the value that you're using to scale the
movie clip is a negative. As an increment, a negative number times the
negative number equals a positive number. That's why we see the flip. The
next iteration/execution of the action then becomes negative again.

I agree that it is weird, and there are higher-level explanations for why
Flash does this, I am sure. I can try to give a few ways to work around it.

1. The best way to approach this in Flash is to not use a negative number
for the xscale value. Make sure your values don't go below zero.

(I may be wrong here, but what use would it be to have something scale
*below* zero percent? I can't think of any.)

2. Another way to work around this would be to use Set Property "_rotation"
to flip the movie clip 180 degrees, then apply the xscale with a positive
number.

Let me know if this helps, or if you need more.

Matt



---------------
Matt Wobensmith
Macromedia Tech Support
Flash Team Lead


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
World Animation Celebration - Big Internet Animation Pow Wow Discount Offer

Register before May 25 mention flasher and save 25%!! www.wacfest.com

Be discovered, get a job or have your web series picked up. A big talent
search for Shockwave
and Flash animators is happening May 30-June 4 in Hollywood. Featuring Rob
Burgess, Matt
Groening, Brad Bird and more. www.wacfest.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com



flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
World Animation Celebration - Big Internet Animation Pow Wow Discount Offer

Register before May 25 mention flasher and save 25%!! www.wacfest.com

Be discovered, get a job or have your web series picked up. A big talent search for Shockwave
and Flash animators is happening May 30-June 4 in Hollywood. Featuring Rob Burgess, Matt
Groening, Brad Bird and more. www.wacfest.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: BUG or solution, Matt Wobensmith

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