Newgrounds.com — Everything, By Everyone.

Checking login status…

USERNAME:

PASSWORD:

Logging in…

Logged in as:
.
Logging out…
Inbox My Account Log Out


Forum Topic: Fullscreen Problem !!!

(50 views • 4 replies)

This topic is 1 page long.

<< < > >>
None

McTony

Reply To Post Reply & Quote

Posted at: 6/24/08 02:15 PM

McTony DARK LEVEL 05

Sign-Up: 05/09/08

Posts: 42

i've put a maximize and minimize button in the game i'm making.
these buttons for some reason only work with the intro and the loadingframe, not with the play/credits or briefing frame. the buttons are on the same layer and i put the AS3 code (wch works perfectly normally :s) on every frame ?
anybody who can help me or maybe could share the AS2 script for fullscreen and normal screen ?

here's the AS3 :
flscr.onRelease = function() {
Stage.displayState = "FullScreen";
};

//fullscreen uit
flscroff.onRelease = function() {
Stage.displayState = "normal";
};

DeviantArt -- noh, there are no weapons off mass destruction in Iraq, Chuck Norris lives in Oklahoma -- Homepage


None

McTony

Reply To Post Reply & Quote

Posted at: 6/24/08 02:18 PM

McTony DARK LEVEL 05

Sign-Up: 05/09/08

Posts: 42

click here to see the game i mean
download it to test the maximize button

DeviantArt -- noh, there are no weapons off mass destruction in Iraq, Chuck Norris lives in Oklahoma -- Homepage


None

ShirkDeio

Reply To Post Reply & Quote

Posted at: 6/24/08 02:18 PM

ShirkDeio LIGHT LEVEL 15

Sign-Up: 03/29/07

Posts: 862

Not sure about AS3, but you have to make sure that allowfullscreen is true in the HTML. If you're working with the HTML page given by publishing it, edit it in notepad or any text editor and make sure the "embed" tag has "allowfullscreen=true" at some point.

I'm pretty sure about that, but I've never actually tried it. But I am sure that your problem is more likely in the HTML than in the ActionScript on this one.

I am a servant of the Most High God
The Hanging Collab || The Legend of Newgrounds (Game) || Crystal Rays (Song)

BBS Signature

None

McTony

Reply To Post Reply & Quote

Posted at: 6/24/08 02:20 PM

McTony DARK LEVEL 05

Sign-Up: 05/09/08

Posts: 42

At 6/24/08 02:18 PM, ShirkDeio wrote: Not sure about AS3, but you have to make sure that allowfullscreen is true in the HTML. If you're working with the HTML page given by publishing it, edit it in notepad or any text editor and make sure the "embed" tag has "allowfullscreen=true" at some point.

I'm pretty sure about that, but I've never actually tried it. But I am sure that your problem is more likely in the HTML than in the ActionScript on this one.

i'm not using any HTML
and the weird thing is that it works perfectly for the intro, but not when you are on the 'play' page

DeviantArt -- noh, there are no weapons off mass destruction in Iraq, Chuck Norris lives in Oklahoma -- Homepage


None

ShirkDeio

Reply To Post Reply & Quote

Posted at: 6/24/08 02:22 PM

ShirkDeio LIGHT LEVEL 15

Sign-Up: 03/29/07

Posts: 862

At 6/24/08 02:20 PM, McTony wrote: i'm not using any HTML
and the weird thing is that it works perfectly for the intro, but not when you are on the 'play' page

http://www.adobe.com/devnet/flashplayer/
articles/full_screen_mode.html

I am a servant of the Most High God
The Hanging Collab || The Legend of Newgrounds (Game) || Crystal Rays (Song)

BBS Signature

All times are Eastern Daylight Time (GMT -4) | Current Time: 06:48 AM

<< Back

This topic is 1 page long.

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!