2 Replies Latest reply on Jul 17, 2007 5:25 AM by GraphicsGeezer

    Simple conditional question

    GraphicsGeezer Level 1
      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.