home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Aventura / redbeard.swf / scripts / DefineSprite_180 / frame_1 / DoAction.as
Encoding:
Text File  |  2008-09-12  |  248 b   |  11 lines

  1. this;
  2. if(hitTest(_root.playerMC) and eval("_root.codeMC:falling") == "on")
  3. {
  4.    if(eval("_root.codeMC:purpleSwitch") != "on")
  5.    {
  6.       _root.click.start();
  7.    }
  8.    set("_root.codeMC:purpleSwitch","on");
  9.    switchMC.gotoAndStop("on");
  10. }
  11.