Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | FLASH: fading a target using actionscript |
From: | simon mills |
Date: | Wed, 12 Jan 2000 11:44:52 GMT |
Hi all,
I'm having a problem trying to use actionscript to fade a target animations
alpha.
Basically what I want is when I rollover a button I want an animation (my
target) to fade. Now the script below, a simple loop, works but works so
fast that the fade is too quick to see. I've tried making the degree that
the x variable is diminshed each loop even smaller than 0.05 but this brings
up an error.
On (Roll Over)
Set Variable: "x" = "100"
Loop While (x>10)
Set Variable: "x" = x - 0.05
Set Property ("/ontv", Alpha) = x
End Loop
End On
What I would like to know is if this is possible and how. The reason I
didn't just but the fade out in a button was that I want the target to fade
out to work for each of several buttons.
Hope this makes sense,
Simon Mills
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California
Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
Replies
Re: FLASH: fading a target using actions, Branden Hall
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]