Be a Supporter!

Full screen game on NG

  • 195 Views
  • 1 Reply
New Topic Respond to this Topic
nitokov
nitokov
  • Member since: May. 8, 2012
  • Offline.
Forum Stats
Member
Level 05
Programmer
Full screen game on NG 2013-03-19 02:51:58 Reply

I use

stage.displayState = StageDisplayState.FULL_SCREEN;

to make movie full screen. When I test it on pc it works, but in dump files on NG it doesnt. Somewhere on net i found that this can make it. But im not sure how to embed this in my swf file.

<param name="allowfullscreen" value="true" />

RangeError: Error #1125: The index 4 is out of range 4.

Mattster
Mattster
  • Member since: Nov. 21, 2007
  • Offline.
Forum Stats
Member
Level 20
Game Developer
Response to Full screen game on NG 2013-03-19 07:57:53 Reply

At 3/19/13 02:51 AM, nitokov wrote: I use

stage.displayState = StageDisplayState.FULL_SCREEN;

to make movie full screen. When I test it on pc it works, but in dump files on NG it doesnt. Somewhere on net i found that this can make it. But im not sure how to embed this in my swf file.

<param name="allowfullscreen" value="true" />

The param is for when embedding the swf on a page. It is a flashvar that can only be changed on the site, users have no control over it. This does not exist on the dumping grounds, but it does exist in the portal and on project preview pages. So maybe consider starting a new project for your movie instead (keep in mind you don't need to publish it and you can still make it public just like a file in the dumping grounds)