Creating an Adobe Air Desktop Application
In this section we will create quickly a very simple application that will be used on the desktop AIR app. The steps involved are literally the exact same steps you would take to create any Flash application.
Video Transcript
00:00All right, you configured already the version of air you have the air SDK
00:05So we're gonna start off and I'm gonna be working in flash
00:07Professional CC but you could do the same thing in earlier versions of flash as long as you have the air SDK
00:13So I'm gonna click select immediately the air SDK for desktop and I'm just gonna start creating a demo project
00:20So I'm gonna start off by first maybe giving us a literally I'm just gonna give a background color
00:26So let me just select your
00:28That was the font
00:30In a font and select the color
00:33Let's make it three three three
00:36And I'm just gonna drop inside one of our logos
00:40So I'm just gonna put that right there. So, you know who we are and I will type here
00:47Hello world
00:50air s
00:52Okay desktop, all right, so it's just a friendly reminder that that's what we're working on
01:01And I'm just gonna center that and that's gonna be our application
01:06And well, obviously we should probably put there our full link just in case you don't know that our link is zero to geek
01:13dot-com
01:16Yeah, that's about it really
01:18Alright, so we created a very very simple application and just really not doing anything
01:23All that's left for us to do is to save the file
01:26So I'm gonna just click on my file
01:28Save as and I'm just gonna save my file into the desktop right now until I move it into its permanent
01:35Location and I'm gonna call this air
01:38desktop
01:39Alright, so that's it. We have our application if we want we could also just add a little bit of code nothing fancy
01:45So I'm just gonna go into my frame
01:47So I'm just gonna maybe put here the content in this layer and the layer above will be our action script
01:53If you're completely new to flash and this might look a little bit weird
01:56So obviously it would really help if you do some flash training our basics
02:00We have some free stuff as well and those stuff
02:02But literally all we're doing is adding
02:04Layers the bottom layer is gonna contain the content that we dropped inside and the text that we created using the text tool
02:10And above we're creating a layer for action script. I'm just gonna select the frame
02:15And then click on this
02:16Nice little button here, which will open up our action script panel
02:21Once we have our actress grip panel open I could just do our small little trace which will be
02:27And air
02:29Desk
02:31Air app and by the way a trace command is only visible by application
02:37by application developers that are using
02:40Our running inside of the the editor really it's not visible to your end users
02:46Oh, the only thing that's used visible to the end users is what's right here
02:49The trace command will just output that information to show us that our application is running
02:53I just click on command enter once I did that you'll see that my air SDK application ran
02:58And I could see it in my output more information about that. I'm an air for desktop application
03:04Alright, so there we go. This is our basic application
03:06All that's really left for us is to package this up and to really create an application out of it
03:12And we're gonna look at that in the next video
