Copy link to clipboard
Copied
I don't if this is a right way to do it or not but we have .swf diagram and I open it up in adobe animate and convert the project to a HTML5/Canvas does it convert it to some type of image? I have found an outside javascript zoom in and out feature that i want to add to this but I don't know too.
Thank you,
All of the timeline structure, and buttons, movieclips, graphics, sounds, get converted across (which some restrictions, such as certain filter effects not working). Any ActionScript gets commented out, you would look at the code in the timeline and recreate the same functions using JavaScript, and the CreateJS library.
If you have an existing AS3 function that zooms a picture, you could show us that, and we can tell you the syntax for a JavaScript version. If you have zoom code already, much of
...Copy link to clipboard
Copied
All of the timeline structure, and buttons, movieclips, graphics, sounds, get converted across (which some restrictions, such as certain filter effects not working). Any ActionScript gets commented out, you would look at the code in the timeline and recreate the same functions using JavaScript, and the CreateJS library.
If you have an existing AS3 function that zooms a picture, you could show us that, and we can tell you the syntax for a JavaScript version. If you have zoom code already, much of it might work right away in the timeline of the Canvas version of the FLA.
Copy link to clipboard
Copied
The best way to add the function is open that createdjs.js in dreamweaver or some other editor? or can you do it through animate?
Hopefully this make sense.
Thank you,
Find more inspiration, events, and resources on the new Adobe Community
Explore Now