Flasher Archive

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


Subject: RE: FLASH: Scaling with ACTIONscript
From: Glenn Mitchell
Date: Tue, 30 May 2000 12:40:11 +0100

hi,

this should be an If/Else statement

you are setting the 'size' variable to 2 and then saying If size = 2

(the size variable is always going to finish up as = 1)

try using the trace function to look at 'size' as you click it


cheers,
gm

-----Original Message-----
From: Neal Cabage [ncabageaticonixx [dot] com (mailto:ncabageaticonixx [dot] com)]
Sent: Monday, 29 May 2000 11 > 52
To: flasheratchinwag [dot] com
Subject: Re: FLASH: Scaling with ACTIONscript


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


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