Join Joseph Labrecque for an in-depth discussion in this video Building the document class, part of Getting Started with ActionScript.
- View Offline
When working in Adobe Flash Professional, we basically have two choices in how our …Actionscript code is organized. We can write code directly on the …Timeline, or create an external class to bind to the project. …In this lesson, we'll have a look at both options. …So, here we have an ActionScript 3 FLA file opened up, and it's blank. …We haven't done anything to it yet. Down in the Timeline here, we can create …a specific Actions layer. So we double-click on that layer name.…
And it's always good practice to just name that actions or ActionScript. …And then lock it down. And this is if, of course, we're doing …Timeline code. To actually write code on the Timeline, …we have to select the Frame, and then go up to Window, and open up our Actions window. …And you can see there's also a key that you can use to open it up, a shortcut …key, that is F9 on Windows. So we're going to open that up, and you can …see here that we can now begin typing any of our ActionScript.…
So if I wanted to create a new variable, I could say, var minum, cast that into an …
- 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