Skip to main content
georgeh14253769
Inspiring
March 24, 2017
Answered

CreateJS and more code snippets

  • March 24, 2017
  • 2 replies
  • 2345 views

Hi All,

had a fantastic response on my first question so thought I'd try again.

I have had an introductory look at the createjs website and noted they had tutorials etc.

The code is is scripted to run in a HTML file. Is it just a matter of stripping some of the code at the beginning and end to make it appropriate for inclusion in Animate? If so are there guidelines as to what code would need to be stripped?

thanks for helping a newbie.

George.

This topic has been closed for replies.
Correct answer Colin Holgate

You're only entitled to one fantastic answer per day, can you ask again tomorrow?

Just kidding...

Following the CreateJS tutorials is harder than you might think. The CreateJS team themselves don't use Animate, they are creating a library for all users, not just us. So, their examples have to include some lines of code that Animate would do for you. In the best case you could use their code and the lines that are not needed won't do any harm. In other cases it could cause confusing results.

If you want to pick an example tutorial I can say which of the lines are ones you won't need to use.

2 replies

georgeh14253769
Inspiring
March 24, 2017

Hi Joseph,

yes that's helpful indeed. Is there any sort of preview of the type of JS scripts in the book you co-authored? Mainly interested in timeline control, using sounds and videos. I work as an educational multimedia designer so mostly providing content interactively.

The book by Myra does look interesting. Just wondering re the javascript content and release date.

thanks for your help,

George.

Joseph Labrecque
Community Expert
Community Expert
March 24, 2017

Yeah, there is audio and video with JS... we might have even gone a little overboard with the video code :/

I will say that some of the stuff I've done for Lynda and Pluralsight probably have more JS than in any of the books I've ben involved with though - since these video courses can be more focused and books tend to be giant all-encompassing things.

The Animate CC blog has a number of JS articles on it as well:

Using HTML5 Canvas In Animate CC: JavaScript Basics | Creative Cloud blog by Adobe

georgeh14253769
Inspiring
March 24, 2017

that's wonderful,

I have a Lynda subscription so how can I find the videos you are referring to?

and thanks for the blog link.

George.

Colin Holgate
Colin HolgateCorrect answer
Inspiring
March 24, 2017

You're only entitled to one fantastic answer per day, can you ask again tomorrow?

Just kidding...

Following the CreateJS tutorials is harder than you might think. The CreateJS team themselves don't use Animate, they are creating a library for all users, not just us. So, their examples have to include some lines of code that Animate would do for you. In the best case you could use their code and the lines that are not needed won't do any harm. In other cases it could cause confusing results.

If you want to pick an example tutorial I can say which of the lines are ones you won't need to use.

georgeh14253769
Inspiring
March 24, 2017

Thanks Colin for the prompt and insightful reply,

I'll probably take you up on your offer.

Is there any other resource online or perhaps in book form that would more easily equip me for "javascript" in animate coding?

George.

Colin Holgate
Inspiring
March 24, 2017

There are a number of books on Adobe Animate, but I'm not sure which of them covers HTML5 Canvas the most. I will ask a couple of the authors to pop by and give an opinion.

Here's an Amazon search:

Amazon.com: adobe animate cc 2017: Books