Skip to content Skip to sidebar Skip to footer

Use Phonegap + Html5 And An Embedded Flash Movie

I wanted to know if it is possible to do the following: Build a mobile app using HTML5, CSS, and JavaScript Embed a Flash game (SWF) on one of the pages of the application Wrap wi

Solution 1:

Are you the last person on Earth to hear that Flash doesn't work on iOS?

Well, I have news for you: Flash doesn't work on iOS ;-)

You can use Adobe's CS5 tools to compile your Flash game as a native iOS app (which is probably your best bet if you're determined to go the Flash route) but you can't display a SWF on an iPhone, regardless of how it is embedded.

Embedding the SWF using PhoneGap may be a semi-viable solution on Android (at least for some handset models), but the performance is unlikely to be that great, and since Adobe have officially abandoned Flash on the mobile, making Flash games for Android is not a very future-proof strategy at this point.

You'd be better off trying to create your game using a pure HTML5 game development library such as ImpactJS - the tools are not quite as rich as what you get with Adobe, but the cross-platform support and future outlook is much better.

Here's a nice table of different cross-platform JS game engine solutions that somebody put together: https://github.com/bebraw/jswiki/wiki/Game-Engines

Solution 2:

For simple animations You can also convert flash to HTML 5 (with Abobe tools , form google html5 convert dosen't ) and than put it in web view any platform Windows Phone, Win store..... html 5 will work even without cordoba or phone gap

Post a Comment for "Use Phonegap + Html5 And An Embedded Flash Movie"