Go to the Next Frame (Flash Javascript)


/ Published in: JavaScript
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.