Jump to content

Recommended Posts

Posted

Hi all,

 

Using a DHTML layers code I found on the web (dyn-web), I created a page with a swf in each layer. A quirk I get on IE5 on the Mac OSX is that each swf is visible in each layer and plays (which gives it a cool effect, but not what I'm going for).

 

Anyhow, I wanted to know if this is an IE/Mac issue or is there better code out there I could use or do I need to just edit the code slightly? Sorry I can't post the example I created, it's at my job.

 

thanks,

!!blue

Posted

I'm not sure I understood the problem.

You have two layers, with an SWF in each of them but you don't want them both to show, is that it?

 

I can't tell what the problem could be without looking at the code but my first advice would be to drop the "DHTML" stuff, since it usually makes use of non-standard CSS.

But then again, I can only be sure about what I'm saying if I take a look at the code. :(

Posted

Hi,

 

attached is the example I got from the website and all I did was change the div contents to hold swf files instead of the current text and what seems to happen is that the swfs in their individual layers are all visible at the same time.

 

thanks,

!!blue

dhtmlLayers.html

Posted (edited)

I don't see anything wrong with the code so... I'd say the problem is that the browser isn't capable of hiding objects inside the DIVs. Why? Haven't got a clue... :unsure:

It's a problem I was never faced with before. :(

 

Try keeping the text in the DIVs and add the Flash animations to both DIVs.

If you see the text changing but the SWFs keep showing, you'll know it's not a problem with your code but a problem with the browser not being able to hide the Flash Objects.

Edited by borfast
Posted

Borfast,

 

I suspected as much, cuz I tried that exact thing! The text changed but the swfs all showed up simultaneously :unsure: Now I know IE5/Mac OSX can't handle div layers...

 

Back to the drawing board!

 

thanks,

!!blue

Posted

Jim,

 

Yes, using CSS the layers have the same background, plus the embedded swf also had background colors. After much research, turns out the browser has to have the latest version of flash player installed AND the embedded swfs have to be set to be transparent (<param name="wmode" value="transparent"> along with wmode="transparent" inside the EMBED tag).

 

When I did that, the code worked but my boss and I decided against it cuz the user must install the *latest* flash player not just 6.

 

thanks,

!!blue

Posted

Jim,

 

Thanks! Unfortunately, the source files weren't available to me @ work since I didn't create them; but I would've if I could've :D

 

But, yes, I do try to publish down to version 5. Although sometimes I can't cuz I can't make the actionscript backwards compatible or also like having a text field with an instance name won't work in flash 5. :D

 

laters,

!!blue

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...