Skip to main content
Inspiring
December 4, 2013
Question

Flash CC update: HTML5 export = jay! Some tips?

  • December 4, 2013
  • 1 reply
  • 1179 views

Hi,

It's really great that we finally saw the long awaited Flash CC update in which icons didn't get overwritten.

A big surprise is the new ability to create html5 content from within flash (flash creating the canvas element and even converts actionscript 3 code!)

In another thread Colin Holgate offered to give some tips about this.

So Colin, we would really appreciate it!

For example: is it possible to convert external actionscript files (.as)? Or does the actionscript export only work for actionscript that is on the timeline within the .fla?

Thanks!

This topic has been closed for replies.

1 reply

Inspiring
December 4, 2013

Another interesting thing: in the preview video from Paul Trani we see a new option called html5 web gl!

I don't see that option myself. Is that going to be added in the future? Would be great to have another rendering engine, because canvas is soooooo slow!

Adobe, please have a look at rendering engines like pixi.js (I would suggest Adobe would buy pixi.js, ;-))

Those webgl rendering engines are blazing fast! Just imagine if that sort of stuff would be integrated in Flash!

Inspiring
December 4, 2013

Oh, wait a minute....

I guess I misunderstood this update... Looks like no actionscript is converted to javascript. It just gets commented out....

Colin Holgate
Inspiring
December 4, 2013

Some things changed over time, even since Paul did his videos.

The WebGL, and some other features, are still at the experimental stage, and so they decided to remove the option for now, rather than have it not work quite right. Hopefully that will show up in the next update, whenever that is.

You do your HTML5 Canvas coding by using Javascript in the timeline. At one point that worked by putting the Javascript into a comment block, so that the ActionScript compiler didn’t get confused. With this new update you are working in a dedicated HTML5 Canvas FLA, and so you don’t need to use comment blocks.

I don’t believe there is any automatic conversion of AS3 to Javascript.