News for hackers. Stuff that matters.
Re:Flash CS5 will export to HTML5 Canvas by wallflower on Sunday April 11, 2010 @11:22AM (#1257000)
I will reserve judgement until I see the HTML5 output, as generated code has a track record of being either a) unmaintainable, unmodifiable or b) doesn't work very well.
Re:Flash CS5 will export to HTML5 Canvas by briansmith on Sunday April 11, 2010 @12:34PM (#1257152)
It doesn't matter what the generated code looks like because you will only edit it in the Flash IDE. In fact, its users want it be completely obfuscated for performance reasons and to make reverse-engineering annoying.
Re:Flash CS5 will export to HTML5 Canvas by wallflower on Sunday April 11, 2010 @04:12PM (#1257500)
Good point. I think Flash developers will be more keen to use CS5's new export feature if there is a poor chance of reverse-engineering or modifying the exposed HTML5 code.

The FXG format basically describes the layout to pixel precision. Anyone using the HTML5 export would have to be willing to expose their layout secrets.

Re:Flash CS5 will export to HTML5 Canvas by axod on Sunday April 11, 2010 @02:49PM (#1257373)
It'll matter if it's slow, bloated and buggy.
Re:Flash CS5 will export to HTML5 Canvas by detst on Sunday April 11, 2010 @05:28PM (#1257643)
If that's the case, you wouldn't use it in the first place, regardless of if it's unmaintainable or unmodifiable.
Re:Flash CS5 will export to HTML5 Canvas by timdorr on Sunday April 11, 2010 @12:21PM (#1257118)
Looking at the code from the video, it looks like they're just putting out an FXG file (http://en.wikipedia.org/wiki/FXG) and have a JS library to read that format and execute it on the canvas. This is actually very interesting because then the Flash plugin is really just boiled down to a Javascript library (which some folks have already done before with the SWF format).

Combined with HTML5 <video> and <audio> elements, there's really only webcam and cursor access that I can think of missing in this kind of implementation. Cool!

Re:Flash CS5 will export to HTML5 Canvas by yason on Sunday April 11, 2010 @12:16PM (#1257105)
It can't be much worse than the bug-ridden Flash runtime which is horribly slow and has generations and generations of compatibility hacks trying to provide, except the 2D vector graphics, pretty much the same functionality as browsers and JavaScript do.

This is a good thing: Adobe/Macromedia's expertise on the authoring tools combined with a good open platform instead of their proprietary backend. I have no complaints against the former, and if the latter will work out it's just a plain good move.

Re:Flash CS5 will export to HTML5 Canvas by watty on Sunday April 11, 2010 @11:25AM (#1257006)
Good point. How easy will it be to edit the output to add the different browser "hacks" to make sure it renders similar across different browsers?
Re:Flash CS5 will export to HTML5 Canvas by voidpointer on Sunday April 11, 2010 @11:51AM (#1257058)
If you consider the output "object code" there would be no need to edit, let alone roundtrip. You don't edit the object-code or byte-code from your compiler either.
Re:Flash CS5 will export to HTML5 Canvas by wmf on Sunday April 11, 2010 @02:41PM (#1257359)
At the SXSW Flash vs. Canvas panel it was mentioned that canvas has virtually no browser quirks; all browsers that implement it implement it correctly.
Re:Flash CS5 will export to HTML5 Canvas by elpuri on Sunday April 11, 2010 @01:56PM (#1257269)
Naturally it's Adobe's job to handle the quirks when generating the output. I would be surprised, if forcing developers to edit generated code even crossed their minds. It just doesn't make any sense.