Current location: Hot Scripts Forums » General Web Coding » CSS » Flash above HTML


Flash above HTML

Reply
  #1 (permalink)  
Old 12-29-08, 05:46 PM
xEX3CUT1ONx xEX3CUT1ONx is offline
Wannabe Coder
 
Join Date: Jun 2008
Posts: 122
Thanks: 2
Thanked 0 Times in 0 Posts
Flash above HTML

Hello, I'm helping a friend make a site, and he added a flash newsreader to his homepage, now his dropdown javascript menu is behind his flash.

I thought the Z-Index in CSS would fix this is if the flash was surrounded by a DIV tag.

But it doesn't work.
Reply With Quote
  #2 (permalink)  
Old 01-05-09, 08:29 AM
Yeroon's Avatar
Yeroon Yeroon is offline
Code Master
 
Join Date: Aug 2007
Location: Netherlands, Nijmegen
Posts: 850
Thanks: 2
Thanked 20 Times in 20 Posts
Two possible solutions (found on other website):

Solving from Flash devolpment IDE:

Quote:
Here is the easiest way to fix your problem. In Flash, in your HTML Publish Settings make this selection:

Window Mode: Transparent Windowless

Then publish so that an HTML file is created.

Edit the HTML file and copy the embed code it created. Your menu will no longer get stuck below the flash.
or straight in your html

Quote:
In your html file... do like this: Look at the lines including "param name"
Make a new line like this:

<param name="wmode" value="transparent">

And insert this line like in the code below... then flashmovie becomes transparent. It looks complicated but it's not.



<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="300" height="40">
<param name=movie value="../flash/headline/billeder.swf">
<param name=quality value=high>
<param name="BGCOLOR" value="#FFFFFF">
<param name="SCALE" value="exactfit">
<param name="wmode" value="transparent">
<embed src="../flash/headline/billeder.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="300" height="40" bgcolor="#FFFFFF" scale="exactfit">
</embed> </object>
Hope it helps
__________________
Feel free to thank people if they help you by clicking thanks at a post.
=================================
Make it idiot proof and someone will make a better idiot.
=================================
Realise the impotence of proof reading everything you publish
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Create a Quiz with Free Quiz Template in Adobe Flash WPeterson Flash & ActionScript 0 10-22-08 10:54 PM
Flash and HTML sn0wy PHP 1 04-01-07 04:56 PM
Flash in html loading up t49518 Flash & ActionScript 2 02-26-07 04:38 AM
How to make a link to HTML page in flash? wonderboye Flash & ActionScript 1 10-16-06 04:02 AM
Can an html link tell a flash applet what to do? chrisrobertson Flash & ActionScript 4 08-01-06 05:47 AM


All times are GMT -5. The time now is 02:17 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.