SWFOBJECT: wmode transparent in layer problem

hey guys, I want my flash swf to be appear above another div instead of below it. I’ve set the z-index to 1 but im not sure why it works in IE but not Firefox.

here’s my code:

.toprightcorn {
z-index: 1;
padding: 0px;
position: absolute;
width: 50px;
height: 50px;
left: 643px;
top: 66px;
right: auto;
bottom: auto;
}

.rightframe {
margin:0;
width: 259px;
PADDING-RIGHT: 0px;
PADDING-LEFT: 0px;
PADDING-BOTTOM: 0px;
PADDING-TOP: 90px;
FLOAT: left;
OVERFLOW: visible;
}

<div class=“rightframe”>
<div class=“toprightcorn” id=“flashcontent3”>
<script type=“text/javascript” src=“flashobject.js”></script>
<script type=“text/javascript”>
var fo = new SWFObject(“toprightpoint.swf”, “animationName”, “50”, “50”, “8”, “#002238”);
fo.addParam(“allowScriptAccess”, “sameDomain”);
fo.addParam(“quality”, “high”);
fo.addParam(“scale”, “noscale”);
fo.addParam(“loop”, “false”);
fo.addParam(“wmode”,“transparent”);
fo.write(“flashcontent3”);
</script>
</div>
</div>