0 Replies Latest reply on May 7, 2007 12:36 PM by vectorg6

    currentFrame infinite update

      Im trying to get the text attached to currentFrame to update.
      With my code im getting the currentFrame of my loaded SWF but its static and does not update as the SWF frame advances.
      How can I make the event loop to get a live update of the currentFrame?


      import flash.events.*;

      public function loadHandler(e:Event):void{
      var c:MovieClip = myLoader.content as MovieClip;
      if( c ) {
      trace("loadHandler fired");
      currentFrame_txt.text = String(c.currentFrame);


      <mx:Text id="currentFrame_txt" height="15" width="40" color="#ffffff"/>