Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

how to solve In the "typewriter.jsfl" file,A javascript error has occured.

Contributor ,
Jan 11, 2022 Jan 11, 2022

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));

}

TOPICS
ActionScript , Error , Exchange extensions
505
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 12, 2022 Jan 12, 2022

Hi.

 

Can you give more details of what you're trying to achieve?

 

Regards,

JC

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Jan 12, 2022 Jan 12, 2022

This is an JSFL typewriter effects for adobe animate2021,After finishing execution,error message,How to avoid error message?截屏2022-01-12 下午9.42.08.pngIMG_4767.jpg

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 14, 2022 Jan 14, 2022

This looks like regular animation what do you need Javascript for? Are you trying to stop it at the end?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Jan 14, 2022 Jan 14, 2022

I want to achieve automatic typing text animation, but running jsfl will report an error

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Jan 14, 2022 Jan 14, 2022

Lower versions of flash will not report errors

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Jan 14, 2022 Jan 14, 2022

No one knows?🥲

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Jan 22, 2022 Jan 22, 2022
LATEST

No one knows?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines