开发者

best-practice to display flash on Iphone / Ipad?

开发者 https://www.devze.com 2022-12-26 23:09 出处:网络
I have a website that uses flash. I would like to convert the website so that iphone / ipad 开发者_StackOverflow社区users can see my website. I understand that Iphone / Ipad can\'t render flash. What

I have a website that uses flash. I would like to convert the website so that iphone / ipad 开发者_StackOverflow社区users can see my website. I understand that Iphone / Ipad can't render flash. What would be the best-practice to convert flash website to iphone / ipad compatible?

I am thinking HTML 5.


[tongue in cheek]

It's not that it "can't" render Flash, it's that it's not allowed to.

[/tongue in cheek]

For Flash Video, html5 has <video> tags. Bear in mind, though, that not all browsers support video tags.

For basic animation, javascript has come a long way.

I'm starting to think that html5 is the new buzzword. The old one was "Web 2.0"


There's a brief example of someone porting a piece of Flash code into canvas/html5, here:

http://blog.mangrove.nl/?pageID=3&messageID=18436

I think the lesson is that it's possible, but there's not (yet) an automated method.

If you were starting from scratch, you could look at haxe which I understand can be used to create either Actionscript or Javascript code:

http://www.haxe.org

Hope this helps a bit.

0

精彩评论

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

关注公众号