PDA

View Full Version : flash cant see in ie


mampwamp
09-24-2010, 02:48 PM
my flash cant be view in ie, but firefox is ok
can help me check what is the problem??

http://img689.imageshack.us/img689/5225/74727780.jpg (http://img689.imageshack.us/i/74727780.jpg/)
in ie, the flash section is missing

http://img135.imageshack.us/img135/8337/firefoxve.jpg (http://img135.imageshack.us/i/firefoxve.jpg/)

in firefox, the flash secion is looking ok

http://click9.net/


below is the html code for flash
<object type="application/x-shockwave-flash" data="http://click9.net/wp-content/uploads/2010/09/textSteel.swf" width="920" height="100">
</object>

mampwamp
09-24-2010, 04:29 PM
problem have been settle with change the code FROM

<object type="application/x-shockwave-flash" data="http://click9.net/wp-content/uploads/2010/09/textSteel.swf" width="920" height="100" style="visibility: visible;">
</object>


TO


<embed height="100" width="920" name="plugin" src="http://click9.net/wp-content/uploads/2010/09/textSteel.swf" type="application/x-shockwave-flash">


just feel weird why the object script cant be use in ie?? anyone know?

gentleone
09-24-2010, 06:20 PM
just feel weird why the object script cant be use in ie?? anyone know?
Yes, all you need is adding swfobject.js.

http://code.google.com/p/swfobject/

mampwamp
09-25-2010, 02:05 AM
Yes, all you need is adding swfobject.js.

http://code.google.com/p/swfobject/

thank, i will try it out.

actually problem is settle, i change object to embed. just want to find out why object cant be use. maybe is what you have mention, need swfobject.

gentleone
09-25-2010, 07:08 AM
thank, i will try it out.

actually problem is settle, i change object to embed. just want to find out why object cant be use. maybe is what you have mention, need swfobject.

If you use the embed tag then there are other browsers (Safari is one of them I guess) that won't show your swf. You need then a combination from object and embed in your script to cover a broader range of browsers..
http://kb2.adobe.com/cps/415/tn_4150.html

With swfobject.js you just need the object tag and a little piece of javascript and it works in all browsers.