Tip:
Highlight text to annotate it
X
In this video, I'm going to describe how to create the simplest possible AIR application.
I'm going to use Notepad, and create a simple HTML file.
And then in subsequent videos, I'll show you how to create something called an application
descriptor file that describes how to compile the application to the AIR compiler
and then I'll show you how to test and compile the application.
I'm going to get started by creating a new folder
in which I'll be storing the application source code,
assets and the application descriptor file. I'll also be compiling the application into
this folder and creating everything I need there.
I'll be working in the folder in AIR Essential Training.
If you're working on Windows, this folder will be on the C drive under the root or whoever
you created it when you installed the exercise files, and if you're working
on the Mac, it will be under your users directory somewhere.
Go to the AIR Essential Training folder and create a new folder
and name it Hello World. Then double-click into the Hello World folder.
Now open up your text editor. As I mentioned, I'm going use Notepad just
to prove that you don't need anything fancy. Within Notepad I'll start off by saving the
new file into the correct location. I'll select File,
Save As, and I'm going to place this file into my new
Hello World folder. I'll give it a filename of Hello World.HTML
and click Save. Next I'm going to create some HTML markup.
The HTML markup doesn't have to be fancy. I'll just create a pair of HTML tags.
Within the HTML tags I'll create a pair of body tags,
and then within the body tags, a pair of h1 or heading one tags.
Then within the h1 tags, I'll put in the text Hello World.
I'm not using any cascading style sheets or JavaScript or any other advanced technologies,
because again I want to show you how simple an AIR application can be.
I'll save the file, close Notepad,
come back to the Hello World folder, where I see the new file,
and then I'll double-click to open it in the browser.
And show you that this is basic everyday HTML that is being displayed correctly in the browser.
Now in the next video I'll show you how to create the application descriptor file that
will be used to tell the compiler how to build the application.