Be a Supporter!

As3: Main

  • 4,797 Views
  • 40 Replies
New Topic Respond to this Topic
Nicholas-Deary
Nicholas-Deary
  • Member since: May. 12, 2006
  • Offline.
Forum Stats
Member
Level 39
Animator
Response to As3: Main 2012-10-07 18:25:45 Reply

Hey, I was wondering if anyone knew a super simple way of coding a "fullscreen your Flash" button with AS3?


BBS Signature
egg82
egg82
  • Member since: Jun. 24, 2006
  • Offline.
Forum Stats
Supporter
Level 05
Game Developer
Response to As3: Main 2012-10-07 23:36:25 Reply

Wrote one for all you multiplayer lovers out there.

AS3: Sockets (Adobe AIR Style)


Programming stuffs (tutorials and extras)
PM me (instead of MintPaw) if you're confuzzled.
thank Skaren for the sig :P

BBS Signature
RyanBustersword123
RyanBustersword123
  • Member since: Nov. 20, 2010
  • Offline.
Forum Stats
Member
Level 15
Game Developer
Response to As3: Main 2012-10-31 17:57:57 Reply

At 10/7/12 06:25 PM, Nicholas-Deary wrote: Hey, I was wondering if anyone knew a super simple way of coding a "fullscreen your Flash" button with AS3?

I know this is a bit late, but there is an extremely simple way for coding a fullscreen button explained here. It's surprising how this simple code can really enhance your view experience.
One side note not mentioned there is that all keyboard interactions are disabled during fullscreen. This includes input fields and text boxes. The only keys that work during fullscreen are the arrow keys, spacebar, tab key and of course the mouse (Maybe also the ctrl and shift keys work too, but I haven't really checked).

egg82
egg82
  • Member since: Jun. 24, 2006
  • Offline.
Forum Stats
Supporter
Level 05
Game Developer
Response to As3: Main 2012-10-31 18:50:10 Reply

At 10/31/12 05:57 PM, RyanBustersword123 wrote: One side note not mentioned there is that all keyboard interactions are disabled during fullscreen. This includes input fields and text boxes. The only keys that work during fullscreen are the arrow keys, spacebar, tab key and of course the mouse (Maybe also the ctrl and shift keys work too, but I haven't really checked).

that's incorrect.
I've been working on a 3D game that implements an optional fullscreen function, and haven't run into issues with anything of that sort.

you sure you're using the listener correctly?


Programming stuffs (tutorials and extras)
PM me (instead of MintPaw) if you're confuzzled.
thank Skaren for the sig :P

BBS Signature
MSGhero
MSGhero
  • Member since: Dec. 15, 2010
  • Offline.
Forum Stats
Supporter
Level 16
Game Developer
Response to As3: Main 2012-10-31 20:53:22 Reply

At 10/31/12 06:50 PM, egg82 wrote: that's incorrect.
I've been working on a 3D game that implements an optional fullscreen function, and haven't run into issues with anything of that sort.

you sure you're using the listener correctly?

This thread says otherwise. It mentions a FULL_SCREEN_INTERACTIVE constant that's in flash player >= 11.3

egg82
egg82
  • Member since: Jun. 24, 2006
  • Offline.
Forum Stats
Supporter
Level 05
Game Developer
Response to As3: Main 2012-10-31 21:46:19 Reply

At 10/31/12 08:53 PM, MSGhero wrote: This thread says otherwise. It mentions a FULL_SCREEN_INTERACTIVE constant that's in flash player >= 11.3

you hit that on the head.

stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;

I forgot I was using that :P


Programming stuffs (tutorials and extras)
PM me (instead of MintPaw) if you're confuzzled.
thank Skaren for the sig :P

BBS Signature
Spysociety
Spysociety
  • Member since: Dec. 30, 2009
  • Offline.
Forum Stats
Member
Level 21
Blank Slate
Response to As3: Main 2012-11-02 22:05:27 Reply

Updating the list:

Basic:
- Events by MSGHero
- Objects by Spysociety
- Simple Navigation Button by SketchistGames

Intermediate:
- Arrays, Vectors & Dictionaries by Kirk-Cocaine
- Circle-Circle Collision Detection by Spysociety
- Object Oriented Programming by Diki
- Singleton Design Pattern by Kirk-Cocaine
- Static Keyword, The by Diki
- Math Functions by Spysociety
- Start Drag Area in a Circle by IndigenousDigitalist

Advanced:
- Advanced Keyboard Detection by Diki
- Billiard Game Physics by Spysociety
- Bitwise Operators by Diki
- Circle-Rectangle Intersection by CocosMiller
- Tile-Based Mechanics by MSGHero
- Sockets (Adobe AIR Style) by egg82

------------------------------------------------------------

Useful links:
- Old AS3 Main Thread
- Attila0413 flash tutorials
- Adobe Actionscript 3.0 Language Reference

External tutorials:
- Drawing Waveforms in Flash by maringtr
- Path-finding with A* by Attila0413
- Fullscreen Button

Game design tutorials:
- How to make a game like Plant vs. Zombies by Emanule Feronato

egg82
egg82
  • Member since: Jun. 24, 2006
  • Offline.
Forum Stats
Supporter
Level 05
Game Developer
Response to As3: Main 2013-01-25 16:27:28 Reply

all the fun that is ByteArrays O.o


Programming stuffs (tutorials and extras)
PM me (instead of MintPaw) if you're confuzzled.
thank Skaren for the sig :P

BBS Signature
Spysociety
Spysociety
  • Member since: Dec. 30, 2009
  • Offline.
Forum Stats
Member
Level 21
Blank Slate
Response to As3: Main 2013-01-25 22:46:09 Reply

AS3: Basic 3D Simulation

MSGhero
MSGhero
  • Member since: Dec. 15, 2010
  • Offline.
Forum Stats
Supporter
Level 16
Game Developer
Response to As3: Main 2013-06-28 01:54:03 Reply

As3: External Text Files

MSGhero
MSGhero
  • Member since: Dec. 15, 2010
  • Offline.
Forum Stats
Supporter
Level 16
Game Developer
Response to As3: Main 2013-10-10 18:35:33 Reply

Work in progress
I'm making a game and documenting the process with great detail. So yeah, it's a tutorial.

deal with it