Flasher Archive

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


Subject: FLASH: Scaling with ACTIONscript
From: Imagelnk
Date: Mon, 29 May 2000 22:51:23 +0100

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


Replies
  Re: FLASH: Scaling with ACTIONscript, Helen Triolo
  Re: FLASH: Scaling with ACTIONscript, Neal Cabage

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