Flasher Archive

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


Subject: Re: FLASH: BUG or solution
From: Matt Wobensmith
Date: Tue, 23 May 2000 18:55:52 +0100

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


Replies
  RE: FLASH: BUG or solution, Branden Hall
  RE: FLASH: BUG or solution, Branden Hall

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