Highlighted

Why is my outputed Javascript file size so large?

Community Beginner ,
Sep 24, 2019

Copy link to clipboard

Copied

Why is my outputed Javascript code file 13,000+ lines when the Javascript I've created in the Action Panel is only !200 lines? For the sake of programming efficiency... can the file be trimmed?

TOPICS
Code, Import and export, Performance, Publish package

Views

212

Likes

Translate

Translate

Report

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

Why is my outputed Javascript file size so large?

Community Beginner ,
Sep 24, 2019

Copy link to clipboard

Copied

Why is my outputed Javascript code file 13,000+ lines when the Javascript I've created in the Action Panel is only !200 lines? For the sake of programming efficiency... can the file be trimmed?

TOPICS
Code, Import and export, Performance, Publish package

Views

213

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Sep 24, 2019 0
Adobe Community Professional ,
Sep 24, 2019

Copy link to clipboard

Copied

no, or, at least, not easily.

 

i have about 230 lines of createjs (http://www.kglad.com) and the js file contains more than 19000.  that's what happens when you swap the convenience of using an ide for hand-coding everything. 

 

there may be more economic ide's available, but nothing is going to be as efficient as hand-coding.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 24, 2019 1
Community Beginner ,
Sep 24, 2019

Copy link to clipboard

Copied

Thanks for the quick answer. I figured it was something like that... 🙂

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 24, 2019 0
Adobe Community Professional ,
Sep 24, 2019

Copy link to clipboard

Copied

you’re welcome.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 24, 2019 0
Adobe Community Professional ,
Sep 25, 2019

Copy link to clipboard

Copied

You're using a lot of static text, aren't you?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 25, 2019 0
Community Beginner ,
Sep 25, 2019

Copy link to clipboard

Copied

Thanks for the response. Actually, no. I created a number of components in Illustrator and copied them into Animate. Minimal text set in Animate. I'm sure the abundant code is just the canvas stuff in code. right?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 25, 2019 0
Adobe Community Professional ,
Sep 25, 2019

Copy link to clipboard

Copied

Hi.

 

Illustrator artworks are usually very complex.

 

If you apply some cleanup to it you're probably gonna get a smaller code.

__________________________________________
HTML5, JSFL, and AS3 samples: http://bit.ly/2mJgDoG

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 25, 2019 1
Adobe Community Professional ,
Sep 25, 2019

Copy link to clipboard

Copied

Though my art is almost exclusively made in AI, I rarelly bring in the illustrator file but rather save images as png. I guess it depends what your workflow is and what kind of fla you are making. My js files are pretty small in general.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 25, 2019 1