Hey everyone,
I’ve been stuck on this problem for quite some time now, so I would apprechiate any help you could give me. I just started learning flash a couple days ago, and I’m using Adobe Flash CS3 Professional, and Actionscript 3.0.
I’m creating a site with flash where the user can select the quality of a movie file, and then the selected quality will play an FLV movie file using the FLVPlayback component, without changing webpages. Now, as I understand it, I should use the addChild() function for that, so this is the code I have:
import fl.video.*;
var flvPlayer:FLVPlayback = new FLVPlayback();
addChild(flvPlayer);
flvPlayer.skin = “./SkinOverPlaySeekMute.swf”
flvPlayer.source = “Apr25H264.flv”;
flvPlayer.skinBackgroundColor = 0x666666;
flvPlayer.width = 720;
flvPlayer.height = 480;
What happens is, when the user clicks “High Quality”, they are sent to frame 61, which is where this code takes place. However, nothing is displayed, no matter how long I wait. I’ve tried to add some text at frame 61, and that displays just fine, so everything else is working. I’ve also tried the code above just on it’s own, and that also works fine. If you want to see the site for yourself:
This is what I’m trying to get to work:
http://reveraproductions.ca/QualityTest2.html
This is an example of what I want to happen after I click “High Quality”:
http://reveraproductions.ca/FLVPlaybackExample.html
Thanks for any help!
NOTE: It seems to be working in Opera, but not IE or Firefox. Any thoughts?
NOTE2: After some more testing, it seems that IE is the only one not working. Firefox and Opera are loading both “QualityTest2” and “FLVPlaybackExample”. Is this a problem with IE?
RESOLVED: I was using the new H.264 capabilities found with the latest flash version, and didn’t realize I hadn’t installed the latest plugin for IE.