I have the same issue with Fire Fox (and Safari) too. I ve followed everything in this post, yet my flash movie in FF and Safari is over the html content making it UNclickable, yet IE 6 & 7 the same exact codes works like a charm.
My AS2 Code:
ActionScript Code:
Stage.scaleMode = "noScale";
Stage.align = "TL";
import com.mosesSupposes.fuse.*;
ZigoEngine.register(Fuse,PennerEasing);
function moveMask():Void{
getURL("javascript:expand('flashid');");
var f:Fuse = new Fuse();
f.push({target:masker, width:450, easing:"easeOutBounce"});
f.start();
}
function outMask():Void{
var f:Fuse = new Fuse();
f.push({target:masker, width:190, easing:"easeOutBounce"});
f.start();
if(masker.width == 190){
getURL("javascript:collapse('flashid');");
}
}
masker.onRollOver = moveMask;
masker.onRollOut = masker.onReleaseOutside = outMask;
My Javascript code:
Code:
function expand(divid){
document.getElementById(divid).style.clip = "rect(0px 450px 300px 0px)";
}
function collapse(divid){
document.getElementById(divid).style.clip = "rect(0px 190px 300px 0px)";
}
function makeBanner(){
document.write('<object data="publicidad/banner.swf" width="100%" height="300" type="application/x-shockwave-flash">');
document.write('<param name="movie" value="publicidad/banner.swf" />');
document.write('<param name="quality" value="high" />\n');
document.write('<param name="wmode" value="transparent" />');
document.write('<embed src="publicidad/banner.swf" quality="high" width="100%" height="300" wmode="transparent" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />\n');
document.write('</object>');
}
My HTML Code:
Code:
<div style="visibility: visible; position: relative; width: 190px; height: 300px; z-index: 12;">
<div id="flashid" style="width: 450px; height: 300px; z-index: 11; position: absolute; overflow: hidden;">
<script type="text/javascript">makeBanner();</script>
</div>
</div>
Hopefully some one can point what I've done wrong to make it work properly in FF and Safari.
Any help greatly appreciated. Thanks!
Allen