Posted By

cesgra on 11/10/09


Tagged

javascript flash jsfl


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

cesgra


Go to the Next Frame (Flash Javascript)


 / Published in: JavaScript
 

  1. var timeline = fl.getDocumentDOM().getTimeline();
  2. var curFrame = timeline.currentFrame;
  3. var nxtFrame = curFrame + 1;
  4. var nxtFrameTo = nxtFrame + 1;
  5.  
  6. timeline.setSelectedFrames(nxtFrame,nxtFrameTo,true);
  7. fl.getDocumentDOM().selectNone();

Report this snippet  

You need to login to post a comment.