Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: GetProperty Alpha loop! |
From: | Cheri Harder |
Date: | Tue, 1 Feb 2000 07:46:41 GMT |
Hi, Erich!
I think your only error is the statement:
Set Property ("/instatic", Alpha) = "x"
should be
Set Property ("/instatic", Alpha) = x
But I would also change the >= 0 to just > zero, because I don't think Alpha
can be less than zero & it might trip it up there.
I found that the fade was much too quick this way, but acceptable if you add
40 frames or so....
Oh, and 100% is totally opaque, 0% is transparent. :-)
HTH
~~~~Cheri Harder~~~~~
charderawsolution [dot] com
Advantage Web Solution
"Developing your internet storefront"
www.awsolution.com
----- Original Message -----
From: "Erich Miller" <jmiller2twcny [dot] rr [dot] com>
To: <flasherchinwag [dot] com>
Sent: Monday, January 31, 2000 9:26 PM
Subject: FLASH: GetProperty Alpha loop!
> Ok, I am pulling my hair out on what I thought was going to be simple!
>
> I'm still struggling with ActionScript so please be kind. :-)
>
> I have TV Static that I want to fade out. I have a movie clip made up of 4
frames with 4 layers (Static Pic 1,2,3
> and an Actions layer). I want the pics to play until the _alpha property
is at it's lowest/highest? (0-100) That's
> one question.
>
> But either way, it does not work with the script that I have in frame 3 of
the Actions layer:
>
> Set Variable: "x" = GetProperty ( "/instatic", _alpha )
> If (x >= 0)
> Set Variable: "x" = x - 2
> Set Property ("/instatic", Alpha) = "x"
> Go to and Play (1)
> End If
> Go to and Stop (4)
>
> "Instatic" is a MC on the main timeline. I am assuming x is equal to 100.
If x is more than 0, subtract 2, set the
> new alpha property and go back to frame 1. Should my Script be 'outside'
my movie clip on the main timeline and
> then refer to x as "/instatic:x" ?
>
> Royally Confused,
> Erich
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The World�s Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California
-Register before Feb 25 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
Replies
Re: FLASH: GetProperty Alpha loop!, Cheri Harder
Replies
FLASH: GetProperty Alpha loop!, Erich Miller
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]