Groups | Blog | Home
all groups > flash actionscript > july 2007 >

flash actionscript : Simple conditional question


dkd;alkje;oihp[oihjl
7/16/2007 8:13:05 PM
I want my Flash file to respond to a cookie. If the cookie is set and the value
of the variable "splashflash" is set to "A", I want to set the alpha property
of a movie to 20%

I can trace the value of the cookie through a dynamic text field. The letter A
shows up, so Flash must be getting the variable. and the problem must be in the
conditional below:

if(splashflash==A){
setProperty(this.testmovie, _alpha, 20);
}

But it doesn't work. I've tried all the combinations of quotes, etc., but no
luck.

PS Is there a decent book on Action Script for graphic designer types like me?
The only one I've ever found is the Quick Start one by Russell Chun and it's
not fit for human consumption.


[djdomain]
7/17/2007 12:00:00 AM
dkd;alkje;oihp[oihjl
7/17/2007 12:00:00 AM
AddThis Social Bookmark Button