Start learning with our library of video tutorials taught by experts. Get started
Viewed by members. in countries. members currently watching.
In Flash CS5 New Features, author Todd Perkins demonstrates key changes in the CS5 release of Adobe's interactive design and animation software. This course covers enhanced ActionScript features, including code snippets and error handling improvements, new publishing options for Adobe AIR, Illustrator, Photoshop, and Flash Builder integration, and the new Text Layout Framework for detailed text editing. Exercise files are included with the course.
If you're ever going to have a large amount of code to your application that you have built in Flash, it's best to use Flash Builder to write that code. Flash Builder is more suited to writing complex code and has a little bit better code hinting features and code organization features than Flash Professional. In this movie, we will take a look at how to use Flash in conjunction with Flash Builder as a code writing tool. So on the stage here, I have my artwork laid out. If I want to use Flash Builder for writing my code when I create ActionScript class files, I can set that in Flash's preferences, under the ActionScript category.
In that category, you'll see an area called the Class Editor, and you can choose to set Flash Professional or Flash Builder as your editor, or have Flash ask you each time you create a new file. I will leave that at Ask and then click OK. Now, what I'm going to do is create a document class for this file. I'll do that by clicking in the Edit class definition button, in the Properties panel. That opens the Create ActionScript 3.0 Class dialog box. Note that you won't see Flash Builder as an option unless you have Flash Builder installed. So I am going to choose Flash Builder, and for the Class name, I will write the same name as my FLA file, which is FBIntegration.
Then I'll click OK, and Flash Builder opens up and prompts me to enter some information. Because I'm creating a document class, Flash Builder autofills this area with my FLA file. So I'm going to leave these settings as they are, and I'm going to click Finish to have Flash Builder create this project for me. Now, I have my class created in Flash Builder. So I can do my code writing here. So I'll add a simple trace statement to the constructor method here, and I'll just trace the word 'Integration.' And I will Save this file and move back over to Flash.
In Flash, you can see my document class is set, and now when I test the movie, you will see that trace statement in the Output Window. So by using Flash Professional as my art creation tool and Flash Builder as my coding tool, I am leveraging the power of both applications. And remember, to integrate, all you need to do is create a new ActionScript class, and Flash will prompt you which application you prefer to use.
There are currently no FAQs about Flash Professional CS5 New Features.
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.