3 Replies Latest reply on Jul 11, 2008 12:46 PM by kglad

    Help with setting variable within movieClip

    brendanr
      I am a relative begginer with ActionScript so please bare with me.

      I have a button within a movie clip. I have the following code assign to it:

      on (release) {
      _root.gotoAndPlay(1);
      startMovie = "intro";
      }

      I have a conditional statement at root frame 1 that will load movieClip "intro" if startMovie = "intro"

      The script executes as is if startMovie is undeclared.

      I have tried declaring the value as _root.startMovie = "intro"; as well.

      I know I must be missing something simple here.

      Any help would be appreciated