Processing
 

Use PhoneGap + HTML5 and an Embedded Flash Movie

25/01/2012 15:46#1

Joined at: 9 months ago

Post: 2

Thank: 0

Thanked: 0

I wanted to know if it is possible to do the following:

  1. Build a mobile app using HTML5, CSS, and JavaScript
  2. Embed a Flash game (SWF) on one of the pages of the application
  3. Wrap with PhoneGap, and deploy on Android an iOS
  4. Keep the Flash game's functionality

I am considering doing this for an upcoming mobile project, and considering my options. I can build in all Flash, or I can build using HTML5 and just embed the Flash on one page. HTML5 would be much faster and cost-effective, and could accomplish what I need for the app's UI and everything else. The thing is that I need to incorporate this Flash game into the site. Will that mean that I have to build the entire application in Flash in order to accomplish this?

Thanks

25/01/2012 16:28Top#2

Joined at: 9 months ago

Post: 2

Thank: 0

Thanked: 0

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

30/04/2016 16:36Top#3

filipoff

Member

Joined at: 9 months ago

Post: 1

Thank: 0

Thanked: 0

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

Similar articles

Open a folder in finder/explorer from a webpage?

5 years ago - Reply: 2 - Views: 80

How do I escape a reserved word in Actionscript?

5 years ago - Reply: 2 - Views: 199

Save PPS/PPT files as SWF using C#

5 years ago - Reply: 2 - Views: 171

Ways of making a graphic/visual novel in flash

6 years ago - Reply: 3 - Views: 114

Use PhoneGap + HTML5 and an Embedded Flash Movie

5 years ago - Reply: 2 - Views: 96

View word docs and PDF in browser?

5 years ago - Reply: 2 - Views: 52

ActionScript 3 Read JPEG quality

7 years ago - Reply: 2 - Views: 59

Export/Test Movie Issues

5 years ago - Reply: 3 - Views: 39

Flash always on top in Android browser workaround?

5 years ago - Reply: 2 - Views: 149

Sending Json Form from Flash AS3

5 years ago - Reply: 2 - Views: 29

parsing a swf/fla (using php?)

6 years ago - Reply: 2 - Views: 44

Getting high FPS on Flash/AIR games for mobile?

5 years ago - Reply: 2 - Views: 59

vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re