Flasher Archive

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


Subject: Re: FLASH: Scaling with ACTIONscript
From: CarltheFish
Date: Wed, 31 May 2000 00:16:33 +0100

I was playing around with your script and here is the solution that I came up
with.

It is using an else/if statement and resets the variableon the second press.

Set Variable: size = 2 (on first frame of maintimeline or in mc which
contains button)

On (Press)
If (size = 1)
Set Property ("/menu", X Scale) = 10
Set Property ("/menu", Y Scale) = 10
Set Variable: "size" = "2"
Else If (size=2)
Set Property ("/menu", X Scale) = 110
Set Property ("/menu", Y Scale) = 110
Set Variable: "size" = 1
End If
End On

I changed some of your values (90 to 110) this seemed to make it "explode"
more on the first click.

Carl

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


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