-
[RESOLVED] FLV Playback not loading in full screen
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?
Last edited by ageef; 08-08-2011 at 06:27 PM.
Reason: Adding signature
-
How did you solve this ?
I have the same issue and it's doing my head in!
-
I had a blank frame at the beginning of this timeline. Apparently, when you add video to a timeline, it must be added at the very first frame, either of the main timeline or of a movie clip. I just went back and got rid of that blank frame (which was holding a stop as it waited for keyboard input), and it worked perfectly!
Another way to get around this to add the video through ActionScript, rather than onto the timeline. Go figure, huh?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|