Join Joseph Labrecque for an in-depth discussion in this video Creating a class file, part of Getting Started with ActionScript.
When working in Adobe Flash Builder, we basically have two choices in how our …ActionScript code is organized. We can write code as part of a Flex …project or create a project using only pure ActionScript. …In this lesson we'll have a look at both options. …So, here we have Flash Builder, and we can see that we have opened a basic …ActionScript project that's targeting Adobe Air. …When you create a project in Flash Builder, it will automatically create the …document class for you. So you can see here, this AS3_sample.as …is our default document class. If we wanted to create a new ActionScript …class, what we have to do is just right-click on AS3 sample, or the project name.…
And then go to New, and then we're going to choose a New ActionScript class. …And from here we can choose things like the package name. …So if I was going to use reverse domain syntax for this, I'd say com.Joseph Lebreck.samples. …And that'll be the package name, and then the name of the class. …We'll just call it, New class. And then we can choose whether it's …
- What is ActionScript and why should I learn it?
- ActionScript 2.0 vs. ActionScript 3.0
- Implementing external source code
- Working in Flash Professional and Flash Builder
- Understanding language fundamentals
- Working with ActionScript objects