 
 public class Movie extends Sprite
 {
+    public static const FRAMERATE :Number = 30;
+
     public function Movie (src :MovieMold, idToDisplayObject :Function) {
         name = src.libraryItem;
         _ticker = new Ticker(advanceTime);


        _playTime += dt;
        if (_playTime > _duration) _playTime = _playTime % _duration;
        var newFrame :int = int(_playTime * 30);
        const overDuration :Boolean = dt >= _duration;
        // If the update crosses or goes to the stopFrame, go to the stop frame, stop the movie and
        // clear it

                frames = Math.max(src.layers[ii].frames, frames);
            }
        }
        _duration = frames / FRAMERATE;
        goto(0, true, false);
        addEventListener(Event.ADDED_TO_STAGE, addedToStage);
        addEventListener(Event.REMOVED_FROM_STAGE, removedFromStage);
