开发者

Will MXML ever "compile" to html5? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 12 years ago.

My question may be silly but I think it´s not.

I´m using flex with Ruby on Rails backend to develop rich internet apps. Recently flash has been attacked, an example is Steve Job´s thoughts on Fl开发者_运维问答ash.

I think flex is a wonderfull tool, but to be honest I really would rather to have a tool as productive as flex but compliant with open standards.

For me, in a perfect world I would code in MXML just like I do now and Flex Builder would build a pure html5 front-end.

My question is, is it likely to happen? It is allowed to dream anything, right... :-)


Is it likely to happen? No.

Is it allowed to dream anything, yes.

MXML is an XML vocabulary designed to generate ActionScript, which is the underlying language of Flash. Since ActionScript is based on ECMAScript, the same standard as JavaScript, it's possible that MXML could be adapted to output JavaScript. But the reason it doesn't is because JavaScript doesn't yet have the same capabilities as ActionScript.


I doubt that MXML or Flex would ever have an output to HTML. To make that work they would need an HTML version of The Flex Framework, which would most likely be written in JavaScript. It seems very unlikely to me.

I believe one of the sneak peaks at the last Adobe Max conference, they did show a Flash Professional animation exported to HTML5.

[Start Speculation] I assumed the HTML version was making use of the Canvas elements in HTML5, while resources were most likely PNG.
[End Speculation]

But I honestly have no idea how it actually worked.
You can probably find videos on-line of the sneaks. Good luck!


Simple. MXML was introduced to replace HTML. I doubt they would come where you can generate a HTML 5 generated code. Not possible, and i doubt even adobe would come up too.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜