Jump to Frame in timeline while working

Hey guys,

Today I found that flash had no option to jump to unassigned frames.

Say, I am working on frames numbered from 1 to 250. Now I need to jump to frame number 15000 and I found that I cannot jump to the frame number 15000 directly. I have to click in the Timelline and move the scroller right to its full extent, again click in the last frame visible in the time line and so on continue this until I reached the frame 15000.

Is there any easy way to jump to frame 15000 ??

Open a new flash javascript file (.jsfl) in the ide while you have your main fla still open.

Paste this in it:
fl.getDocumentDOM().getTimeline().currentFrame = 15000;
Then click run. The main fla will navigate to the frame.

You can go further if necessary and create your own custom panel by creating a swf that you put in the WindowSWF directory with e.g a button and a text input field. The actionscript in this would be e.g

myButton.addEventListener(MouseEvent.CLICK, myHandler);

function myHandler(event:MouseEvent)
{
var goFrame:String = myInputTextField.text;
MMExecute(“fl.getDocumentDOM().getTimeline().currentFrame = “+goFrame+”;”);
}

You should note that 15000 timeline frames is close to the absolute limit you can have in flash (think this is 16000)

hey EastCoast thanks for your help,

one more thing please, you use the word “absolute limit”, is it mean that we are limited to frames(think it is 16000) that we can use in our time line?
It means we cannot use the unlimited frames in a same timeline. Right?

Yes there is an absolute limit on frames in the timeline, you cannot have unlimited. A swf reaching the limit will have playback stopped.

Can I know how many frames are available in a timeline???

The limit is 16,000