A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: [RESOLVED] FLV Playback not loading in full screen

Threaded View

  1. #1
    Junior Member
    Join Date
    Aug 2011
    Posts
    8

    resolved [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

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
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center