7 Replies Latest reply on Nov 21, 2010 4:52 AM by Ned Murphy

    inside movieclip script?

    gaminflash

      Hey, I am wondering how I can use a script inside a movieclip outside the movieclip, for an example. The first frame in the movie clip:

       

      var RoXYZ

      RoXYZ = 3.14;

       

      And outside the movieclip it's:

       

      circle._visible = true;

      RoXYZ = 3.1415926535

      if(RoXYZ == 3.14){

      circle._visible = false;

      }

       

      What i am trying to do is that if the movieclip reaches a specific frame a script is triggered. Is this possible?