Results 1 to 5 of 5

Thread: Scripts kills flash display

  1. #1
    Join Date
    Apr 2009
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Scripts kills flash display

    Good evening.

    I added a script (dynamic menu) from here to my website which already contained flash code. The problem is that every time I mouseover a menu item that has a drop down list, the flash disappears from the screen. As soon as I move my mouse away from the dropdown menu item, the flash appears again. I read elsewhere on this forum that a similar issue was previosly solved by adding "param name="wmode" value="transparent"" to the OBJECT code and adding "wmode="transparent" to the EMBED code of the flash. I did this but it did not solve my problem.

    My current flash code (which works and displays fine without the dynamic menu script) is:
    Code:
    <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0" ID=demoflash1 WIDTH=800 HEIGHT=130 param name="wmode" value="transparent">
    <PARAM NAME=movie VALUE="demoflash1.swf">
    <PARAM NAME=quality VALUE=high>
    <PARAM NAME=loop VALUE=false>
    
    <EMBED src="demoflash1.swf" loop=false quality=high WIDTH=800 HEIGHT=130 wmode="transparent" TYPE="application/x-shockwave-flash"
    PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>
    
    </OBJECT>
    I would appreciate any assistance you may offer.
    daalouw
    Last edited by Snookerman; 04-24-2009 at 06:32 AM. Reason: format code (jscheuer1) added “Resolved” prefix (Snookerman)

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    This:

    Code:
    . . .  HEIGHT=130 param name="wmode" value="transparent">
    should actually be:

    Code:
    . . .  HEIGHT=130>
    <param name="wmode" value="transparent">
    But I doubt that's the only problem. From what you are saying, unless I misunderstand, you have a different problem than that which wmode is supposed to correct. Using the window mode for your Flash is to prevent DHTML objects from disappearing behind the Flash, not for preventing the Flash from disappearing, as I believe you are indicating is happening.

    If you want more help:

    Please post a link to the page on your site that contains the problematic code so we can check it out.


    Also, what browser(s) are you seeing this in? What OS are you using, and what version of Flash plug in does your browser use?
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Apr 2009
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks for replying.

    Yes, my problem is that my flash disappears when I hover over a dynamic menu with a dropdown menu list. If the menu item does not have a drop down box, everything is fine.


    My current test site is http://deon.gotdns.com/preondemo/indexdemo1.php.
    The first 2 menu items on the horizontal menu (red) is causing the issue for me.

    I am using IE7. Problem only happens in IE. FF works fine.

    Thanks .

  4. #4
    Join Date
    Apr 2009
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I made the change you suggested John and it seemed to do the trick. IE7 works now.

    Daalouw

  5. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    As I say, that's not the usual use for window mode. But if it takes care of it, great!
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •