title: array works fine, but get warning, as3
body: <p>A prompt comes up to dismiss all or continue, but the The swf works perfectly. How do I correct this? <br>
  Thanks.</p>
  
  <p><strong>Error</strong></p>
  
  <pre><code>TypeError: Error #1010: A term is undefined and has no properties.
      at testONE_fla::MainTimeline/onTimer()
      at flash.utils::Timer/_timerDispatch()
      at flash.utils::Timer/tick()
  </code></pre>
  
  <p><strong>LightUpSign 'array refers to instance names on stage'</strong></p>
  
  <pre><code>import flash.utils.Timer;
  import flash.events.TimerEvent;
  var prog:Array = ["","prog1","prog2","prog3","prog4","prog5","prog6","prog7"];
  var timer:Timer = new Timer(144);
  timer.addEventListener(TimerEvent.TIMER, onTimer);
  timer.start();
  
  function onTimer(evt:TimerEvent):void {
  var counting:uint = timer.currentCount % 8;
  this[prog[counting]].visible = this[prog[counting]].visible ? false : true;
  }
  </code></pre>
  
  <p><strong>Web</strong><br>
  When I execute the swf with HTML, there's no warning, and it works fine. </p>