A Flash Developer Resource Site

Results 1 to 9 of 9

Thread: [F8] Full Screen Flash 8 - no popup

  1. #1
    Junior Member
    Join Date
    Jan 2006
    Posts
    15

    [F8] Full Screen Flash 8 - no popup

    Hi

    I'm trying to enable my website to be viewed at full screen through the use of a toggle button. I've tried using JavaScript to do this and it worked the only problem is that the site reloaded in a pop-up window. Is there anyway to use JavaScript to open a website at full screen without reloading the page and without the use of a pop-up window?

    Thanks!

  2. #2
    Senior Member
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    You can have real fullscreen when publishing for player 8 or higher.
    Check the Stage.displayState property.

    gparis

  3. #3
    Ryan Thomson EvolveDesigns's Avatar
    Join Date
    Oct 2001
    Location
    British Columbia
    Posts
    3,338
    gparis beat me!

    Stage["displayState"] = "fullScreen";

    or

    Stage["displayState"] = "normal";
    Evolve Designs Interactive Media
    the natural selection

  4. #4
    Junior Member
    Join Date
    Jan 2006
    Posts
    15
    Great I will try using the method you posted.

    Thank you!!

  5. #5
    Junior Member
    Join Date
    Jan 2006
    Posts
    15
    It worked - thank you. I have just a few more questions now:

    1. My swf is no longer horizontally centered in normal view - how would I make the swf vertically and horizontally centered in normal view

    2. Is there any way to remove the message that appears (press esc to exit full screen)? - I have a toggle button so the message isn't necessary . .

    3. My input text boxes no longer work in full screen mode. Is there any work around for this?

    Thank you !

  6. #6
    Senior Member
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    1. Depends on your publish settings and how you built your fla. You'll need to give more info.

    2. no, you can't.

    3. Not possible, at least on flash 8 AS2. You only can do that in AS3 with FULL_SCREEN_INTERACTIVE and that only works with AIR apps. All for security reasons...

    gparis

  7. #7
    Ryan Thomson EvolveDesigns's Avatar
    Join Date
    Oct 2001
    Location
    British Columbia
    Posts
    3,338
    regarding three, what exactly doesn't work with input textfields? when tested it worked fine. or is an input textbox different from an input textfield? or perhaps it only happens when the swf is embedded in a browser?
    Evolve Designs Interactive Media
    the natural selection

  8. #8
    Senior Member
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    regarding three, what exactly doesn't work with input textfields?
    keyboard interactivity, such as filling in input fields, is disabled when in Fullscreen mode. For security reasons.

    While Flash Player is in full-screen mode, all keyboard input is disabled (except keyboard shortcuts that take the user out of full-screen mode)
    gparis

  9. #9
    Ryan Thomson EvolveDesigns's Avatar
    Join Date
    Oct 2001
    Location
    British Columbia
    Posts
    3,338
    this must be a browser-only feature cause it works fine when tested locally. I've also made a fullscreen projector file which loads content based on a search using input text.

    thanks for the info
    Evolve Designs Interactive Media
    the natural selection

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