1 person found this helpful
It doesn't seem to be possible as of now. HTML5 Canvas publishing does not use an external template.
You may request for it via the Wishform(below) if you feel it'll be useful.
Thanks - it's not currently possible, as you said.
I am not sure what unchecking the "Publish HTML" box does, as if I uncheck that box and Publish, the old (manually modified) .html file is indeed overwritten, dumping the lines I added by hand. I am still busy investigsatinga ll of this, and have not yet had any real success converting any of my small Flash movies to HTML5/JS.
It seems that many of the external JS-based libraries such as Greensock's TweenMax would be very handy to use with Flash CC and outputting to HTML, but maybe going with Edge Animate CC is a better route, although I would have to write from scratch. The lack of Flash support on iOS devices pretty much ended all future work in Flash, for me.
1 person found this helpful
We have logged this overwritting issue for HTML5 Canvas publishing and are working on a workflow for re-using an existing(or user modified) HTML file.
For now, there's a workaroung to do so:
Open Publish Settings, uncheck the "Publish HTML" box and click on Publish (instead of doing Test Movie)
You can also use the KB shortcuts (Alt+Shift+F12) for publishing.
This way only the JS file gets updated to include any changes that you might have done on Stage.
Regarding your other issues with Flash's HTML5 canvas publishing, can you elaborate on what is not working for you?
Thanks, Nipun. My basic problem is that I have a fair amount of Flash work that needs to be "converted" so that it will function on iOS devices.
I have been playing around with Flash CC's abilities to pull in existing FLA files, and modify them for HTML5 output. I have found MANY problems with this "workflow," thus far. I am not even convinced that the "conversion" is even useful, given the things that need to be addressed, even down to stuff like confronting a different scheme for frame numbering on the Timeline, etc.
The Edge Animate software is hopelessly crippled by its failure to (automatically) address cross-browser flavors of HTML5 coding, and by its reliance on having to hand-code almost anything that isn't related to the Timeline advancing - i.e., stuff that "jumps around" automatically, as opposed to someting approaching the REAL functionality that we had in Actionscript.
So, I'm still really waiting to see what transpires before I devote any more of my time to learning software that doesn't seem like it's truly addressing the issue of seamless, cross-platform HTML5 animation.
Status update here?
I'm getting all sorts of HTML5 flash banner work and need to get the workflow incorporated. Here's doubleclicks setup:
I'm sure there will be others very soon too.
Is there a status update? I couldn't find any information on how to change the template, even for CC 2015.
The Template for the HTML5 is not exposed as such but you can make use of overwrite HTML option in the Publish settings so that any of your external changes to the html file does not get overwritten. This option only prevents overwriting of the published HMTL wrapper, so you can continue to modify your graphics and animation and they get updated in the js files everytime you publish/test your movie.
If you really wish for an external template please place your feature requests here: https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
We are happy to update you all that the HTML template feature for Canvas publishing is now available in Animate CC 2015 released yesterday. Also, you may be interested to learn more about the new feature additions and enhancements to Canvas document type in Animate CC. To name a few,
Typekit Web fonts integration
Publish Profile based custom HTML Template support
Enhanced Spritesheet publishing options
More stroke types
Static text support that gets published as outlines for WYSIWYG experience etc.,
You can explore the entire list of features at http://www.adobe.com/products/animate/features.html
You can update your copy of Flash CC to Animate CC using Adobe Creative Cloud desktop application. Please sign-out & sign-in again in case if you don’t see Animate CC in your Creative cloud application.