A Flash Developer Resource Site

Results 1 to 1 of 1

Thread: FLV in a Fullscreen Projector

  1. #1
    Member
    Join Date
    Sep 2001
    Posts
    37

    Unhappy FLV in a Fullscreen Projector

    Hi,

    I am trying to do something really simple but I think there may be a bug in flash.

    I want to create a fullscreen projector which does not scale the stage and contains movies, the movies should not play fullscreen. I want the videos to stay exactly the size as I have set them up on the stage as they have titles above them.

    The issues I am facing are as follows;

    1) If I place the movie on frame1 of my timeline along with the code

    import flash.display.*;

    stage.displayState = StageDisplayState.FULL_SCREEN;
    stage.showDefaultContextMenu = false;
    stage.scaleMode = StageScaleMode.NO_SCALE;

    and another layer with the code

    video.fullScreenTakeOver = false;

    everything works fine, the projector goes fullscreen, I can see the stage and the movie is in the correct place.

    but obviously I need to put a menu on frame 1 which has buttons that jump to the different movies .

    If I then move the movie to frame 2 on my timeline and place a button named 'video_btn' on frame 1 with the code

    import flash.display.MovieClip;
    video_btn.addEventListener(MouseEvent.CLICK, videoscreen);

    function videoscreen(event:MouseEvent):void {
    trace("video");
    gotoAndStop(2);
    }

    ' the whole screen just goes black after I press the button. I have to press the escape key to see the stage again.

    Please help this is driving me mad. I have attached the fla.
    Attached Files Attached Files

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