Flash player and textboxs in Firefox
Problem
Open a HTML page with a textbox and Flash Player in Firefox (FF1.5 and FP8.0). The textbox became locked if you hit Stop button in the Flash Player. It looks like focus is still in the text box, but it's impossible to type anything.
The same page works fine in Internet Explorer 6.0.
Solution
It's not mine solution, I found it here http://www.easterndesigner.com/forum/viewtopic.php?t=87. The solution was for another problem, but it works for locked textboxes as well.
You should set wmode as transparent in object's params and in attributes for embed tag. Also embed should be styled as style="z-index:inherit".
So the final code should looks something like:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
width="300" height="200" align="middle" >
<param name="movie" value="foo.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<embed src="foo.swf" wmode="transparent" quality="high" width="300" height="200" style="z-index:inherit" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
0 Comments:
Post a Comment
<< Home