If you have missed a couple of sessions, check here.
If you’ve been here the whole time, let’s continue.
- Open up the Flash file we’ve been working on.
- Edit your hero movieclip.
- Add a textbox above the hero’s head.
- Change the textbox from ‘Static’ to ‘Dynamic’.
- For the instance name, type scarytimer.
- For the Var:, type _root.scarytimer. (_root lets us know that the variable exists on the main level of the stage and not just privately with the movieclip).
- If you don’t want the timer text to be selectable by a mouse, make sure the ‘Ab’ button is not selected.
A variation on this would be to create a new tile with the timer on it and spread those tiles throughout your maze.