I have a problem with the following code:
var myTimer:Timer = new Timer(100);
rea1.text = (getTimer() + " ms");
It's suposed to start a timer that stops when I press the 'stope' button and display that time (after stoped) in the text box 'rea1'. But that doesn't happen and the following text keeps repeating many times when I enter the frame:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
Could someone help me please?