Posts Tagged ‘how’

Tutorial: Command Line Parameters in an AIR Application

Wednesday, August 20th, 2014

In this tutorial you will learn how to pass command line arguments to your Adobe AIR applications and how to retrieve those values from within your program. In order to demonstrate this, I'll be sharing a small program I wrote recently to assist in screencasting. The program simply displays a webcam feed in a window that gets its size via command line arguments that are passed in when the program starts. This allows for a simple picture-in-picture effect, and thus, I've named the program PiP. Let's get started. (more…)

Tutorial: High Score Table with Flash and PHP

Sunday, May 11th, 2014

In this tutorial we'll take a look at how to build your own high score system using Flash ActionScript 3.0 on the client side and PHP on the server side to handle database tasks. This is meant only as a starting point as we do not do much, if any, error checking or security checks on the data submitted to the database. I am not well-versed in PHP so if you are and notice some mistakes, feel free to point them out! (more…)

Tutorial Update: Puzzle Game Completion with HTML5 and Javascript

Wednesday, March 26th, 2014

One of the more popular tutorials on the site is the Puzzle Game Basics with HTML5 and Javascript piece. Over the last few months I've had a lot of requests asking how to detect that the player has correctly ordered all the pieces. That's what we're looking at today. As you'll see, it's rather simple to implement!

I'm going to be using the completed code from the previous tutorial as the starting point. If you haven't checked out the puzzle game basics tutorial, you should do that now and then come back here when you're finished. If you're ready to go, continue on! (more…)

WebRTC Tutorial Update

Tuesday, July 24th, 2012

One of the more popular tutorials on the site is the one on webRTC with HTML5 and Javascript. However, the problem with creating tutorials for cutting edge technology such as webRTC is that the specification is constantly changing. Recent updates to the webRTC spec made the tutorial inaccurate. Today I went back and updated it so that it works with the new specification. Check it out if you haven't tried it yet!

Tutorial: WebRTC with HTML5 and Javascript

Tutorial: Flash and C++ Native Extension

Monday, April 30th, 2012

Last week I decided to look into building a native extension for AIR and was very surprised by the lack of quality resources and tutorials for doing so. I was able to find examples for Android using Java and for iOS using Objective-C, but pretty much nothing for a standard Windows C++ project. I was eventually able to get things up and running by piecing together bits of information from various sources, but I thought I'd take the time to write a step-by-step tutorial on how to do this so that perhaps others will have an easier time. In this tutorial you will create a native extension that simply adds two numbers together and returns the sum. (more…)

Subscribe to RSS feed FGS5 Badge