Jump to content
Search Community

View/Explore SWF frame-by-frame and/or convert to Video

chrizzz test
Moderator Tag

Recommended Posts

Hi there

 

Is there any way to explore a SWF done with Greensock frame-by-frame? It is not possible in the Flashplayer and also not in Eltima SWF toolbox. It is also not possible to convert it to a video.

 

Any suggestions? (besides screenrecording, of course..)

 

Thanks,

Chris

Link to comment
Share on other sites

Sure, to explore the swf frame by frame you can place all animations in a TimelineLite/Max that has useFrames:true.

Then you can just use some buttons to go to the next or previous frame by pausing on the appropriate time().

Once useFrames is set to true, all durations, delays and positions will be frames-based (as opposed to using seconds)

 

import com.greensock.*;
import com.greensock.easing.*;


var tl = new TimelineMax({useFrames:true, paused:true});


tl.to(mc1, 30, {x:100})
  .to(mc2, 30, {x:100, rotation:360}, 10)
  .to(mc3, 30, {scaleX:0, scaleY:0}, 10);
  
next_btn.addEventListener(MouseEvent.CLICK, goNext);


function goNext(e:MouseEvent):void {
tl.pause(tl.time() +1);
if(tl.time() == tl.duration()){
  tl.time(0);
}
}


prev_btn.addEventListener(MouseEvent.CLICK, goPrev);


function goPrev(e:MouseEvent):void {
tl.pause(tl.time() -1);
}

The attached fla and swf lets you explore each frame.

 

Oh, and by the way Flash CC does a fantastic job of converting scripted animation to video: 

 

 

frame-by-frame-CS6.zip

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...