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?
Anyone having this issue?
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.
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.
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.
ASKER
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
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/
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/
ASKER
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.
ASKER
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?
But why is that only IE has problem loading it?
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
What code do you have for displaying the flash file that is working?