Loading
  Password:
  Lost password?  
LogoutLOGOUT
Join as a MemberJoin as a Member
 
FlashMove Live Support



Go Back   FlashMove Forums > Development > General Flash

ReplyREPLY THREAD
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-19-2004, 03:32 PM
bASAEF bASAEF is offline
Registered User
 
Join Date: Feb 2004
Posts: 2
bASAEF is on a distinguished road
flash overlaps javascript menu - help

hi, I have the following problem:
for navigation on my site I have horizontal javasript menu, with expanding sublevels. Just under the menu I have flash banners being rotated by phpAdsNew. So when the sublevels expand they are behind the flash banners (the banners overlap the menu)... I read about this a bit - the "z-index" property does not solve my problem, neither does exporting the banners in "wmode" with a transparent background, cause they're all done in swish...

so, if anyone knows how I can have the menu expand and be on top of the flash banner, then please kindly tell me how this can be fixed...

p.s. I posted this in a couple of forums and noone seems to know a solution - hope there is one though.
  #2  
Old 02-20-2004, 02:40 AM
dv8's Avatar
dv8 dv8 is offline

Admin Mod
 
Join Date: Mar 2001
Posts: 2,053
dv8 is on a distinguished road
Hello bASAEF and Welcome to FlashMove,
WMODE is not specific to non-SwiSH created SWF files.
WMODE is supported by the player.
Also, unfortunately some browsers don't support WMODE.
  #3  
Old 02-20-2004, 05:36 PM
FrozenMedia's Avatar
FrozenMedia FrozenMedia is offline

Frozen Moderator
 
Join Date: Apr 2003
Location: United Kingdom
Posts: 2,701
FrozenMedia is on a distinguished road
Yeah to get things that force themselves to be drawn on top to be drawn underneath....just use an IFRAME to contain the element you want on the top.

You can still talk to a flash movie using the frames[] notation on any browser.

Here's how to dynamically write to the IFRAME with ID "browseIFrame":

document.frames["browseIFrame"].window.document.open();
document.frames["browseIFrame"].window.document.write(someHTML);
document.frames["browseIFrame"].window.document.close();

Rich
__________________
Blog: http://www.richardleggett.co.uk | If your happy with the help, let us know about it
  #4  
Old 02-21-2004, 10:19 AM
bASAEF bASAEF is offline
Registered User
 
Join Date: Feb 2004
Posts: 2
bASAEF is on a distinguished road
Hi,
I couldn't get the flash to load in the iFrame...

here's my code generated by phpAdsNew:

<script language='JavaScript' type='text/javascript'>
if (!document.phpAds_used) document.phpAds_used = ',';
phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);
document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
document.write ("http://mysite/phpAdsNew/adjs.php?n=" + phpAds_random);
document.write ("&amp;clientid=8");
document.write ("&amp;exclude=" + document.phpAds_used);
if (document.referer)
document.write ("&amp;referer=" + escape(document.referer));
document.write ("'><" + "/script>");
</script>
<noscript><a href='http://mysite/phpAdsNew/adclick.php?n=a6ba22b8' target='_blank'><img src='http://mysite/phpAdsNew/adview.php?clientid=8&amp;n=a6ba22b8' border='0' alt=''></a></noscript>);

If someone can help me a bit more as to how to get all this in an iFrame...
  #5  
Old 02-21-2004, 02:33 PM
theUKdude's Avatar
theUKdude theUKdude is offline

Hyper Dudey Moderator
 
Join Date: Mar 2001
Location: Bath, UK
Posts: 1,421
theUKdude is on a distinguished road
I use SoThink DHTMLMenu to create DHTML/Javascript expanding menus. It has a feature which hides the Flash whilst the menu is over the top of it. Now I'm not a JavaScript expert but I'm sure if you took the time you would be able to find and use the function it creates in order to do this. If you download the trial version and create a small 'dummy' menu with the option included to 'hide' the Flash, I'm sure you would be able to find the function in the resulting output and utilise it in your menu.
__________________
theUKdude


.................................................. ..........................
Education: That which discloses to the wise and disguises from the foolish
their lack of understanding. -Ambrose Bierce, writer (1842-1914)
  #6  
Old 08-16-2005, 11:01 AM
shahenil shahenil is offline
Registered User
 
Join Date: Aug 2005
Posts: 3
shahenil is on a distinguished road
hey,
i was finding the solution to the similar issue on this website and guess what .. i found the answer right here too!! I saw www.mci.com and jes one bit of code in the swf code does the trick.

In your param tags just add this

<PARAM NAME="WMode" VALUE="Transparent">

and your javascript menu will overlap the swf. Unfortunately this only works in IE.

Cheers !!
Shahenil
  #7  
Old 09-01-2005, 07:01 AM
Ratpack02 Ratpack02 is offline
Registered User
 
Join Date: Sep 2005
Posts: 2
Ratpack02 is on a distinguished road
Mozilla?

Is there any way this can work in Mozilla?
  #8  
Old 09-01-2005, 03:06 PM
shahenil shahenil is offline
Registered User
 
Join Date: Aug 2005
Posts: 3
shahenil is on a distinguished road
nope.. i dont think so... it works only on IE check this out http://www.macromedia.com/cfusion/kn...fm?id=tn_15523
  #9  
Old 09-01-2005, 11:27 PM
Ratpack02 Ratpack02 is offline
Registered User
 
Join Date: Sep 2005
Posts: 2
Ratpack02 is on a distinguished road
I actually got it to work:

here is the code:
<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/s...rsion=6,0,29,0" width="550" height="64">
<param name="movie" value="images/postman2.swf">
<param name="quality" value="high">
<param name="LOOP" value="false">
<PARAM NAME="WMode" VALUE="opaque">
<embed src="images/postman3.swf" width="550" height="64" loop="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="opaque"></embed></object>

It seems to work on both IE and mozilla - check it out:
http://www.searchtechnology.com.au/Client_Web/DMS/


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Open Letter to Macromedia molaram General Flash 10 02-18-2005 01:29 AM
Home Brew DVD Menu w/ Flash 2004 Gujuunit General Flash 0 08-16-2004 03:03 AM
Positioning xml generated menu tommie20 Flash MX ActionScript 1 05-04-2004 04:36 PM
Resolved: flash menu for general public dcomeaux General Flash 6 03-02-2004 06:10 PM
Flash - XML menu (macromedia FlashMX dropdown menu help) Flash_kid76 XML & Sockets 1 04-09-2003 10:04 AM



All times are GMT. The time now is 09:57 PM.




Powered by vBulletin version 3.5