Copy link to clipboard
Copied
var doc = fl.getDocumentDOM();
doc.breakApart();
doc.distributeToLayers();
doc.selectAll();
var obs = doc.selection;
doc.getTimeline().insertFrames( obs.length * 2, true, 1);
var tl = doc.getTimeline();
var total = obs.length;
var i = total + 1;
while( i-- ){
tl.setSelectedLayers( total - i, true );
tl.cutFrames(0);
tl.pasteFrames( i * 2 );
tl.clearFrames(0, (i * 2));
}
Copy link to clipboard
Copied
Hi.
Can you give more details of what you're trying to achieve?
Regards,
JC
Copy link to clipboard
Copied
This is an JSFL typewriter effects for adobe animate2021,After finishing execution,error message,How to avoid error message?
Copy link to clipboard
Copied
This looks like regular animation what do you need Javascript for? Are you trying to stop it at the end?
Copy link to clipboard
Copied
I want to achieve automatic typing text animation, but running jsfl will report an error
Copy link to clipboard
Copied
Lower versions of flash will not report errors
Copy link to clipboard
Copied
No one knows?🥲
Copy link to clipboard
Copied
No one knows?