Viewers: in countries Watching now:
In ActionScript 3.0 in Flash Professional CS5 Essential Training, Todd Perkins shows Flash designers how to incorporate ActionScript code into their projects and create interactive presentations and applications. The course includes a review of ActionScript language basics and the object-oriented programming (OOP) methodology, a tour of those Flash Professional CS5 features designed for developers, such as code hinting and the Code Snippets panel, and instructions on interacting with objects in the Library and placing code on the Timeline. Exercise files are included with the course.
Code hints can save you large amounts of time when writing code and simultaneously help you learn ActionScript faster. Code hints appear when you type certain special characters in Flash. Right now, I don't want you to type the code that I'm typing; I just want you to watch my screen to see how it works. You'll learn about how to type all this code later on in the title. So I'm going to set the word 'var' and then a space and then 'gameLoader' with a capital L, and then I'm going to type what are the special characters that brings up code hinting. That's a colon. So I type that, and I get this menu.
I can navigate with my keyboard or with my mouse. There are a ton of things to choose from, but if I start to type in what I want, which is Loader with an L, I'll type that colon again, Loader, then Flash will eventually highlight that code in the Code Hinting window. Now, I can simply press Return on my keyboard and Flash will write Loader for me. Also, notice that Flash added this import line of code.
For now, don't worry about what that means; just know that Flash is helping you out by writing a lot of code for you. So I can type some more stuff, so Loader = new Loader, and I'll type a parenthesis, and then I see code hinting again. Another way to access code hinting is to type a dot. So I can type 'gameLoader.Load' and then press Enter on my keyboard, and here you will see load, and then it says request:URLRequest, Context: LoaderContext.
Now, this might you look like a bunch of garbage to you right now, but this is actually very useful information when you're learning ActionsScript. Flash is telling you what type of data to put inside of the parentheses. So as you go throughout this title, I want you to pay attention to code hinting and use it to your advantage to help you learn ActionScript more quickly, and to write code faster.
Find answers to the most frequently asked questions about ActionScript 3.0 in Flash Professional CS5 Essential Training .
Here are the FAQs that matched your search "" :
Sorry, there are no matches for your search "" —to search again, type in another word or phrase and click search.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.