Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

I Need Some Help With Flash And Div Overlay


9 replies to this topic

#1 Dooga

    Coolio

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPip
  • 1,346 posts
  • Gender:Male
  • Location:Canada
  • Interests:Eating SPAM
  • myCENT:66.95

Posted 12 May 2008 - 05:05 AM

Hi guys,

I have a problem with one of my designs at the moment. Here's the problem:

I have a flash game in the middle of a page. However, the site navigation has dropdown menus that go on top of the flash. Now, the navigation works if I use "wmode = transparent" or "wmode = opaque" in the flash code. Yet, there is another problem: In Internet Explorer (I'm running version 7) the arrow keys "up" and "down" in most flash games will not work properly. Instead, they will make the page scroll up and down, even if the flash file has focus. This situation does not exist if I don't define a "wmode" (meaning that wmode = Window). However, I have some things that need div tags to be displayed OVER a flash presentation, and it just annoys me that Internet Explorer (only) will not allow this without messing it up.

Sorry I don't have an example right now, because everything is on localhost. However, if someone doesn't understand what I mean I can provide more info or create a dummy example.

Thanks to everyone who has taken the time to read this or help me.

#2 jlhaslip

    Insert Custom Title Here

  • [MODERATOR]
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,040 posts
  • Gender:Not Telling
  • Location:Linux, DOS and Windows…the good, the bad and the ugly
  • myCENT:81.07
  • Spam Patrol

Posted 12 May 2008 - 06:33 AM

Have you tried position : absolute or relative and a z-index?

#3 Dooga

    Coolio

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPip
  • 1,346 posts
  • Gender:Male
  • Location:Canada
  • Interests:Eating SPAM
  • myCENT:66.95

Posted 12 May 2008 - 07:02 AM

Unfortunately, that doesn't work because once a Flash file uses "wmode=window" it's as if the flash file has its own window. Basically, everything will be underneath it. Currently I'm looking for a workaround that prevents the page from scrolling... without much luck.

#4 kobra500

    Inane and Inept

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 602 posts
  • Gender:Male
  • Location:UK - Kent
  • myCENT:97.63

Posted 12 May 2008 - 09:55 AM

use php to redirect ie 7 users to a page that will work - theres a topic in the forum on how to do. It's in my list of topics i think

Edited by kobra500, 12 May 2008 - 09:55 AM.


#5 sonesay

    |||[ n00b King ]|||

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 958 posts
  • Gender:Male
  • Location:Auckland
  • myCENT:68.27

Posted 12 May 2008 - 09:33 PM

Ah one of the many problems when combing flash and regular HTML content. On my firends site where he was using lightbox and a flash menu the lightbox effect would disrupt the flash render. It was ugly. I'm sorry I have no idea how you could remedy it.

#6 in2orbit

    Newbie

  • Kontributors
  • Pip
  • 1 posts

Posted 05 September 2008 - 10:53 AM

Hi Dooga

Just wondering if you had any joy with this? I'm coming up against exactly the same problem, with a css drop down requiring the flash game to be transparent for it to overlay and then the arrow keys controlling both the game and the window in IE, leading to a big headache, I can't seem to find any ways of getting around this.

Any help would be greatly appreciated.

Thanks in advance

Ben

#7 iGuest

    Hail Caesar!

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,876 posts
  • Interests:Trap17 Free Web Hosting, No Ads

Posted 02 November 2009 - 07:52 AM

flash video in html page using light booxI Need Some Help With Flash And Div Overlay

hi,dear all..

how can create flash video in our html website using light box? light box automatically loading, and background transparent eg:- http://www.Zombieland.Com

please help me

-reply by nisam

 



#8 iGuest

    Hail Caesar!

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,876 posts
  • Interests:Trap17 Free Web Hosting, No Ads

Posted 30 November 2009 - 10:21 PM

STOP PAGE FROM ARROW SCROLLING IN IE (FOR GAMES)I Need Some Help With Flash And Div Overlay

I did it!  Use a scrollable table with table dimensions larger than the object dimensions & overflow set to auto (but so that there is no overflow).  It prevents a scrollbar from appearing but nonetheless activates the arrows to function without scrolling the page.  Here's some example code:

<div style="overflow:auto; height:440px; width:440px">

<table cellpadding="0" cellspacing="0" style="width:440px">

<tr><td><center>

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" height="360" width="300">

  <param name="allowScriptAccess" value="never" />

  <param name="allowNetworking" value="internal" />

  <param name="movie" value="http://www.Bofunk.Com/games/pacman.Swf" />

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

<embed type="application/x-shockwave-flash" allowScriptAccess="never" allowNetworking="internal" src="http://www.Bofunk.Com/games/pacman.Swf" height="360" width="300" wmode="transparent" />

</object>

</center></td></tr>

</table>

</div>

-reply by Mark Morris

#9 iGuest

    Hail Caesar!

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,876 posts
  • Interests:Trap17 Free Web Hosting, No Ads

Posted 06 December 2009 - 11:00 AM

For Doga - you must use div tag with other swf object to overlay existing swf. And I think it is only one solution. Put your content in swf canvase in that div and aranged position by css.

That is all. 

-reply by solver

#10 Guest_Narita Express_*

  • Guests

Posted 08 February 2012 - 02:15 AM

Hi,
had the same problem and found a good tuto here: http://www.butterfli...-flash-problems




Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users