2 Replies Latest reply on Oct 24, 2006 9:09 PM by harms239b

    Passing a value to a variable.

    harms239b
      I have a checkbox that I have created (checkbox_mc) and inside of the checkbox I have 2 frames. The frames include the following code respectively:

      quote:

      on (release) {
      _root.email = "on";
      _root.box1.gotoAndStop(2)
      _root.subscribe = "off";
      _root.box2.gotoAndStop(1)
      _root.unsubscribe = "off";
      _root.box3.gotoAndStop(1);
      }

      and

      quote:

      on (release) {
      _root.email = "off";
      _root.box1.gotoAndStop(1)
      _root.subscribe = "off";
      _root.box2.gotoAndStop(1)
      _root.unsubscribe = "off";
      _root.box3.gotoAndStop(1);
      }



      The problem is that my vars EMAIL, SUBSCRIBE, and UNSUBSCRIBE do not seem to ever get set. I keep getting UNDEFINED when I trace the vars. I just don't know if I have to use a function like getVar (don't know if that is a real function, just illustrating) or push the value somehow.

      Please help. Thanks in advance.