Skip to content

How to embed Flash objects in html webpages

Jan 06, 2012 | 42Gears Team

Plain html web pages is no big deal but to make a webpage feature-rich, you might want to use HTML5, the new standard of web pages or you can embed Flash objects to implement high quality multimedia content in your web pages. SureFox supports rendering of HTML5 as well as Flash content.

There are many ways to embed flash into your web pages, however here is the simplest way to do it:

Embedding Flash in html page

Embedding Flash in html page

The highlighted code needs to be inserted as:

<object classid="clasid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="100" height="330" id="yourfile" >

<param name="movie" value="yourfile.swf" />

<param name="quality" value="high" />

<param name="bgcolor" value="#000000">

<embed src="yourfile.swf" quality="high" bgcolor="#FFFFFF" width="400" height="400" name="yourfile" align="" type="application/x-shockwave-flash" pluginspace="http://www.macromedia.com/go/getflashplayer">

</embed>

</object>

where yourfile.swf represents the flash file to be embedded and the display dimensions can be set via width and height attributes.

Finally, upload all the files(html, flash, etc) to web server or your device’s memory from where you want to access the webpage.

Note: You can refer the post on how to use local web pages in SureFox by clicking here

To learn more on how to run your web-applications on Android Tablets & Smartphones in Kiosk mode, visit us at www.42gears.com/surefox

Author: Panshul Srivastava
42Gears Mobility Systems

Subscribe for our free newsletter

Thank you! you are successfully subscribed.
newsletter

Exclusive News and Updates on Enterprise Mobility!

* I consent to receive newsletters via email from 42Gears and its Affiliates.
Please agree
* I have reviewed and agreed to 42Gears Privacy Policy and Terms of Use prior to subscribing and understand that I may change my preference or unsubscribe at any time.
Please agree
Please verify captcha
Please enter a valid official email