Skip to main content
eslmaxx
Known Participant
February 21, 2017
Answered

Design in Animate; publish as html5

  • February 21, 2017
  • 1 reply
  • 1173 views

Hi

I hope I am wording this correctly.  I know almost nothing about html5 except that it is supposed to be what is making Flash obsolete.

Can I work in Animate the way I have worked in Flash - On a stage with layers and a timeline using symbols, usually movie clips, and creating simple tweens and publish that animation as an html5 file?

Also, could I add AS2 script to a button to run the animation and have it work in a published html5 file?  Would AS3 be required and would it even work?

The animations are just text, for example, on a page a user sees the sentence 'I'd set him up' with a button beside it.  User clicks the button and the text animates to arrive at 'I'd se dimup'.  In Flash you can produce a smooth animation to have letters fade to nothing, other letters appear, some letters move across the screen, and some letters change color.  In html you can produce the before and after, but the change is instant and I am looking for the gradual (as gradual as you decide to make it) animation that you easily make in Flash. 

Or, am I way off track?  Is there some other tool or code that would do the job?

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

    Something changed between AS2 and AS3, where you could add scripts to buttons. You had to add them to the timeline.

    Other than that, most of what you did in AS2 should work on in HTML5 Canvas. You need to get more familiar with how AS3 worked, and how CreateJS works.

    1 reply

    Colin Holgate
    Colin HolgateCorrect answer
    Inspiring
    February 21, 2017

    Something changed between AS2 and AS3, where you could add scripts to buttons. You had to add them to the timeline.

    Other than that, most of what you did in AS2 should work on in HTML5 Canvas. You need to get more familiar with how AS3 worked, and how CreateJS works.

    eslmaxx
    eslmaxxAuthor
    Known Participant
    February 21, 2017

    Wow, quick response! Thanks.

    Yes, I need to get way more familiar with AS3 and CreateJS.  Fortunately, the animations I am doing probably require very little AS3.
    I've been reading this Create HTML5 Canvas documents in Animate CC


    From what I can see, an html file and a javascript file will be published and if I understand correctly, all the code will be present as well.

    Does this mean that these files are pretty much ready to be inserted into a larger project - that very little additional code will be necessary to make the animation work?

    A note regarding static text says that since the text is published as vector outlines, you cannot edit them at runtime.  But do I still have the ability to change text to a symbol, like a MovieClip and then animate it?

    Colin Holgate
    Inspiring
    February 21, 2017

    Yes, what you say should work.