Flasher Archive

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


Subject: Re: FLASH: Scaling with ACTIONscript
From: Neal Cabage
Date: Mon, 29 May 2000 23:02:03 +0100

Shouldn't you be setting these scale properties to integer values, not
strings (eg 10, not "10")? Perhaps that has something to do with it.

Neal

----- Original Message -----
From: <Imagelnkataol [dot] com>
To: <flasheratshocker [dot] com>
Sent: Monday, May 29, 2000 10:35 PM
Subject: FLASH: Scaling with ACTIONscript


> Hi all, i want to make a menu system where i click one button, and it
makes
> the menu full size, and if i click that button again, it shrinks back
down.
>
> In the main timeline on the first frame i have
>
> Set Variable: "size" = "2"
>
>
> and in the actions for the button that i am using to explode/shrink the
> menu, i have
>
> On (Press)
> If (size = 1)
> Set Property ("/Menu", X Scale) = "10"
> Set Property ("/Menu", Y Scale) = "10"
> Set Variable: "size" = "2"
> End If
> If (size = 2)
> Set Property ("/Menu", Y Scale) = "90"
> Set Property ("/Menu", X Scale) = "90"
> Set Variable: "size" = "1"
> End If
> End On
>
>
> But when i test this, when i click it the first time, it "exlpodes to full
> size" as it should, but when i click the button again, it doesnt shrink
down.
> Does anyone k now whats causing that to happen?
>
> TIA
>
>
>
> 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
  FLASH: Scaling with ACTIONscript, Imagelnk

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