Link to home
Create AccountLog in
Avatar of kmc10314
kmc10314

asked on

I can't display flash in Internet Explorer

I have one flash file that I want to display, but it just wouldn't display in both IE 6.0 or 7.0. It works fine on Firefox, so I don't exactly know what the problem is. Other flash files seems to be working, but just this one is not working.
Anyone having this issue?
Avatar of Rartemass
Rartemass
Flag of Australia image

What code do you have for displaying the flash file that is not working?

What code do you have for displaying the flash file that is working?
Avatar of kmc10314
kmc10314

ASKER

Well only code that is different is video class.
Only thing that was added was
_root.gotoAndPlay("frame1");
import mx.video.*;
VideoPanel.contentPath = "video1.flv";
VideoPanel.play();
stop();

These are the only factors.
Try using the identical code that worked for another flash file, simply replace the file that is used.
See if that works. If so then the issue is with the extra code.
If not then the issue is with the flash file itself. Try saving as a new file in flash and try again.
I think problem is the video code, but what I don't understand is that
if I publish the flash and look at the published file in IE 7.0 it works fine, but on the web it isn' t working
I'd say that is because when you load it into IE by itself it will use the flash video player installed on your PC, which will work fine as flash is installed.
When you embed it into a webpage, it will use the flash player interface you tell it too.
Try using a different flash player on the site.

Here are some to try out:
http://flowplayer.org/
http://premiumbeat.com/flash_resources/free_flash_music_player/
but it does not works in local sever, either. Should that work in local server because in local sever (when it tests it) It should use my flash instead of one on the web
I believe the local server would use the player embedded on the page, not the local installed one.
What I find weird is that I tell both FF and IE to use same interface to play swf file.
But why is that only IE has problem loading it?
ASKER CERTIFIED SOLUTION
Avatar of Rartemass
Rartemass
Flag of Australia image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer