|
| ||||||||||
| Tags: dreamweaver flash 8, flash, flash file, html |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| How can i add HTML on top of Flash
|
|
#2
| ||||
| ||||
| re: How can i add HTML on top of Flash
If you want to add HTML on top of a Flash Banner this can be achieved if you do these two following important things . Create to divs with different "Z-index" and the flash movies should have the parameters "wmode=transparent". Also moving farther put divs inside of container divs so that the center of stage could be occupied by the Flash. and the top flash could be positioned correctly. according to our needs. |
|
#3
| |||
| |||
| re: How can i add HTML on top of Flash
For solving this issue i would like to give you the following segment of code . I think this will help you. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>HTML on top of Flash</title> </head> <body bgcolor="#ffffff"> <div style="z-index:1; position:absolute; left:35px; top:100px; color:cyan; font-weight:bold; border: 1px solid blue;">Text below Flash movie</div> <div style="z-index:3; position:absolute; left:35px; top:145px; color:red; font-weight:bold; border: 1px solid red;">Text above Flash movie</div> <div style="z-index:2; position:relative; width:225px; height:225px; border: 1px solid #666;"> <!--url's used in the movie--> <!--text used in the movie--> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="200" height="200" id="HTML_on_top_of_Flash_Test" align="middle"> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="file_name _of_the _flash_banner.swf" /> <param name="quality" value="high" /> <param name="bgcolor" value="#ffffff" /> <param name="wmode" value="transparent"><!-- note this is the most important line --> <embed src="file_name _of_the _flash_banner.swf" quality="high" bgcolor="#ffffff" wmode="transparent" width="200" height="200" name="HTML_on_top_of_Flash_Test" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> </div> </body> </html> |
|
#4
| ||||
| ||||
| re: How can i add HTML on top of Flash
HI if you add an HTML onto the Flash banner i think you will be considered as a spam user and the search engine will consider it as "cloaking" And this will get you banned from the search result . so please be aware of the consequences if you are about to take such a step . Also what i think is the search engines like Google can read Flash . |
|
#5
| ||||
| ||||
| re: How can i add HTML on top of Flash
If you really require HTML navigation at the top , Treat it as you would any process for graceful degradation or backwards compatibilty. I am not aware if there is any techniques available that allow code to detect if flash is working, Otherwise fallback to standard navigation. Also iwould not immediately recognize it as cloaking. Try incorporating a footer with all the proper navigation if you want to avoid this potential stigma. |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "How can i add HTML on top of Flash" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Issues Using Flash into HTML | Abhibhava | Software Development | 3 | 23-01-2010 04:55 PM |
| How to Render xml text as html in Flash | Abraham.J | Software Development | 3 | 15-09-2009 08:16 PM |
| HTML 5: Can it over-ride Flash and Silverlight? | Damiano | Web News & Trends | 2 | 16-06-2009 07:54 PM |
| Flash as HTML background | Gap meer | Software Development | 3 | 23-04-2009 10:33 PM |
| Problem Loading Flash in HTML | Kusagra | Software Development | 4 | 25-03-2009 10:42 AM |