I'm building an .swf with video to play in the standalone Flash Player. It works perfectly fine when the swf is not full-screened. However, as soon as I test it as a published swf, the video does not load. I know the video is not loading because:
1) I can't see it.
2) Elements that are triggered by cuepoints in the video are not triggering.
3) The movie clips and graphics that over lay this video still play, but only when the swf is not full-screened.
I am adding the video directly onto the timeline. Here is the Action Script I am using at that frame:
Actionscript Code:
import fl.video.VideoEvent;
import fl.video.MetadataEvent;
var curCue:Number = 1;
//This is the current cue point.
introVideo.fullScreenTakeOver = false;
introVideo.addEventListener(VideoEvent.READY, readyVideo);
introVideo.addEventListener(MetadataEvent.CUE_POINT, cuePointFunction);
function cuePointFunction(event:MetadataEvent):void {
if (curCue < 4)
{
curCue++;
introVideo.seek(introVideo.findCuePoint(String("to" + curCue))["time"]);
introVideo.stop();
this.nextFrame();
}
else
{
introVideo.stop();
this.nextFrame();
}
}
function readyVideo(event:VideoEvent):void {
introVideo.seek(introVideo.findCuePoint(String("to" + curCue))["time"]);
introVideo.stop();
play();
}
stop();
I've been battling this for three days without success. Can anyone help?