Skip to content

Commit

Permalink
Add "skipFrames" property to GAFMovieClip #20
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanavdieienko committed Nov 26, 2014
1 parent c0ef8c1 commit fa856f1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gaf/src/com/catalystapps/gaf/display/GAFMovieClip.as
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,7 @@ package com.catalystapps.gaf.display
this._currentTime += passedTime;

var framesToPlay: int = (this._currentTime - this._lastFrameTime) / _frameDuration;
trace("framesToPlay", framesToPlay);
if (skipFrames)
if (_skipFrames)
{
//here we skip the drawing of all frames to be played right now, but the last one
for (var i: int = 0; i < framesToPlay; ++i)
Expand Down

0 comments on commit fa856f1

Please sign in to comment.