I am making a simple flash game. How would I make the user to go the next scene when the zombie is clicked?
Create a symbol out of the zombie, call it whatever you want. Then write this code:
yourZombieName.addEventListener(MouseEvent.CLICK, clickZombie); function clickZombie(evt:MouseEvent):void { gotoAndStop(1, "yourSceneName"); }
Copyright © 2021 Jogjafile Inc.
Create a symbol out of the zombie, call it whatever you want. Then write this code: