Click on any phrase to play the video from that point.
[Adobe Developer Connection]
[Rob Russell- Flash Platform Engineer] Hello. My name is Rob Russell,
and I'm a developer on the Flash Platform Services team,
working on the License Manager product.
In this video, I'd like to explain how to implement the License Manager service
into an application that's built using Flash Professional CS5.
Let's get started.
Okay, so the first thing I'd like to show is the different types of Flash apps
that you can create.
So, if you'll go to File New, you see there are several different options here.
And this is an ActionScript 3.0 type of Flash project,
so and I already have one running here.
It's called Simple Flash, so let me show you, first of all,
how to include the License Manager library into the application.
If we go to the ActionScript settings.
And you'll see here the library path.
And this list here has a list of the libraries that are included,
and you see that I have licensing.swc here,
so after you've gone to the Developer Portal and the STK download,
then you store the licensing.swc locally.
And then you want to include it here, and there are some buttons here
to navigate to where your licensing file is.
And then you include that, so once it's included into your project,
then let's go to the code, and we'll see what we have to do there.
So you first statement here is your import,
and that will include the License Manager service.
And we go down to the constructure for the SimpleFlash.
And this is going to execute when the application first starts up.
It's an analogous to the creation Complete Handler
in an application built using Flex Builder.
And we see that, essentially, you're creating an instance of the License Manager,
and then, secondly, you create the checkLicense call.
And for more information about the parameters here, please visit
the tutorial called License Manager Basics.
Okay, so those are the bare bones things you need to do to put the code
into your application.
When it comes time to do the publishing of your application,
then let me show you the details there.
You click on Adobe Application 2 settings. Edit that.
Now, these values are important to have populated, so you have
the name of your application, the version, and the app ID.
Now, you app ID, as you can see here, we're using reverse-dot notation.
If you have a website, it's recommended to sort of use a reverse-dot notation.
If you don't, that's okay.
Just make sure your app ID and your file name are unique.
And we have a dialogue within the dev portal that will help you determine
whether your application is unique across all of the different distribution points.
Okay, scrolling along, we see that there's a set of included files.
Now, the .swf and the app descriptor file you get by default.
But notice here, this file here, this is the updateConfig file,
so if you think there's any possibility that your application may be updated in the future,
you're going to want to include a local updateConfig file,
and it needs to be in this exact folder called config,
and the file name needs to be the same as that updateConfig.xml.
And, again, the video that covers all of the basic requirements
will have more information about that.
So once those are set, let's go to the Signature.
And this is where you would sign the application, and you want to make sure
that your application is signed with a valid certificate from a trusted certificate store,
a sort of a top-tier company.
For a limited time, Adobe is offering free certificates for developers
that are getting into the program.
So you make sure that it's signed.
Moving on to the Icons.
There's a set of icons here that you need to make sure that you populate.
And these should be unique to your application,
and they will show up across different areas in the developer portal,
in the different various distribution points,
and then finally on the end user system.
So you have to make sure that those are there.
Okay, so those are the basic steps of including the License Manager service
into your application built using Flash Professional CS5.
For more information about this, please visit the Flash platform services section of ADC.
Thank you for watching.
[Adobe Developer Connection]



