No replies
falltimemusic
Offline
newbie
San Jose, CA
Last seen: 14 years 27 weeks ago
San Jose, CA
Joined: 2005-06-08
Posts: 2
Points: 0

I'm building an all flash site with a little css.

The css is just being used to put a second .swf on top of another.

I would have just done this within flash but the music player layer sped up the entire site ridiculously fast. So I'm keeping it separate.

I'm just using a simple z-index with css with this code:

---------------

body
{
margin-top: 0px;
margin-bottom: 0px;
margin-left: 0px;
margin-right: 0px;
}

.flashmain
{
position: absolute;
top: 40px;
left: 0px;
z-index: -1;
}
.flashmain2
{
z-index: 0;
}

.mptable
{
position: absolute;
top: 41px;
left: 0px;
}
.musicplayer
{
z-index: 5;
}

-----------

To see the whole thing goto

http://www.flashbasedesign.com/getinthemixx

The problem with IE is that sometimes the music player does not show in the correct z-index until you resize the window. Is there a simple onload function I can use to force the css to work right away?

Oh yeah thats IE on the PC

FireFox on PC just is freaky, the player flickers a lot and its just really strange. Same deal with safari on the mac.

Any help would be great
bryan