Looking for:
adobe® after effects® cs5 classroom in a book - PDF Drive.Adobe after effects cs5 vs cc free
You can add ActionScript in the authoring environment by using the Actions panel, Script window, or an external editor. ActionScript follows its own rules of syntax, reserved keywords, and lets you use variables to store and retrieve information.
For more information on ActionScript, see the following Help titles:. Learning ActionScript 3. Learning ActionScript 2.
You do not have to understand every ActionScript element to begin scripting. If you have a clear goal, you can start building scripts with simple actions. For this reason, developers who are familiar with JavaScript can find ActionScript immediately familiar.
Animate includes more than one version of ActionScript to meet the needs of different kinds of developers and playback hardware. ActionScript 3. This version requires more familiarity with object-oriented programming concepts than the other ActionScript versions. FLA files that use ActionScript 3. Deprecated with Animate only ActionScript 2.
Although Flash Player runs compiled ActionScript 2. ActionScript 2. For example, more design-oriented content. Deprecated with Animate ActionScript 1. ActionScript 1.
Deprecated with Animate Flash Lite 2. Deprecated with Animate Flash Lite 1. Due to multiple versions of ActionScript 2. You can find description about the graphical user interface for working with ActionScript. These topics apply to all versions of ActionScript.
Other ActionScript documentation from Adobe guides you to learn about the individual versions of ActionScript. You select actions, and the software presents you with a user-interface for entering the parameters required for each one. Many designers and non-programmers use this mode. Deprecated with Animate Behaviors also let you add code to your file without writing it yourself.
Behaviors are prewritten scripts for common tasks. You can add a behavior and then easily configure it in the Behaviors panel. Behaviors are available only for ActionScript 2. Writing your own ActionScript gives you the greatest flexibility and control over your document. But, it requires you to become familiar with the ActionScript language and conventions.
Components are prebuilt movie clips that enable you to implement complex functionality. A component can be a simple user interface control, such as a check box, or it can be a complicated control, such as a scroll pane. Most components require you to write some ActionScript code of your own to trigger or control a component. For more information, see Using ActionScript 3. When you write ActionScript code in the authoring environment, you use the Actions panel or Script window.
The Actions panel and Script window contain a full-featured code editor that includes code hinting and coloring, code formatting, and syntax highlighting features. It also contains debugging, line numbers, word wrapping, and support for Unicode. Use the Actions panel to write scripts that are part of your Animate document that is, scripts that are embedded in the FLA file.
The Actions panel provides features such as the Actions toolbox, which gives you quick access to the core ActionScript language elements. You get prompts for the elements that require to create scripts. Use the Script window if you want to write external scripts—that is, scripts or classes that are stored in external files.
You can also use a text editor to create an external AS file. The Script window includes code-assistance features such as code hinting and coloring, syntax checking, and auto-formatting. Getting started with ActionScript 3. Creating a Document class using ActionScript 3. Creating an effective workflow between design and development CS3 The following articles and tutorials provide more detailed information about working with ActionScript:.
ActionScript 3 migration table Adobe. When you execute any doc type, the Output panel displays information or warning related to operations such as document conversions and publish. To display this information, add trace statements to your code or use the List Objects and List Variables commands.
If you use the trace statement in your scripts, you can send specific information to the Output panel when the SWF file runs. It includes notes about the status of the SWF file status or the value of an expression.
To find reference documentation for a specific ActionScript language element, do one of the following:. Open the ActionScript 3. Type the language element in the Actions panel, select it, then press F1 Press F1 immediately. Choose only one version for each FLA file you create. Script navigator. Lists the scripts in your Animate document, and lets you move quickly between them. To view the script in the Script pane, click an item in the Script navigator.
The Actions panel lets you access the code-assistance features that simplify and streamline coding in ActionScript.
You can add non-frame specific global and third-party scripts that can be applied to the whole animation from within Animate. For more information, see A dding G lobal a nd T hird- p arty s cripts section in this page. Add using wizard is a simplified user interface to add code to your compositions. Click Add using wizard in Actions panel as shown in the following screenshot. In the above screenshot, Get frame number action is selected and the corresponding code has been updated in action window.
Based on the action type you select, you can also choose the corresponding object for which you want to apply the action.
You can search for specific objects on stage if the object has an instance name. Also, you can apply the action on the current selection. Click Next to choose a triggering event. A set of trigger events are listed in the window based on your action type and object type selection in previous steps. Choose an appropriate trigger event followed by its corresponding triggering objects, if any, and click Finish and add button.
You can choose the Current Selection option from the menu when you select an object in the stage and run the actions code wizard. You can also choose the timeline and components actions for the code. Interactivity is an essential part of an animation that boosts the visual experience of the audience. Want to learn how to introduce actions to the video without any codes? Watch the tutorial at the end of this example and follow these steps. The Script window lets you create external script files that you import into your application.
If you have more than one external file open, filenames are displayed on tabs across the top of the Script window. In the Script window, you can use PinScript, find and replace, syntax coloring, format code, code hinting and commenting, and code collapse features. You can also use debug options ActionScript files only , and word wrap. The Script window also lets you display line numbers and hidden characters. The Actions panel let you access the code-assistance features that simplify and streamline coding in ActionScript.
Actions panel only Helps you set an absolute or relative target path for an action in the script. Displays reference information for the ActionScript element that is selected in the Script pane. For example, if you click an import statement and then click Help , the reference information for import appears in the Help panel. Select an ActionScript term in the Actions panel toolbox pane on the left side of the Actions panel.
Whether you edit code in the Actions panel or the Script window, you can set and modify a single set of preferences. Automatic Indentation.
Specifies the delay in seconds before code hints are displayed. The option is deprecated with Animate. Reload Modified Files.
Specifies what happens when a script file is modified, moved, or deleted. Select Always, Never, or Prompt. When you build applications with external scripts, this preference enables you to avoid overwriting a script.
Or avoid publishing the application with older versions of scripts. The warnings let you automatically close a script and reopen the newer, modified version. Syntax Colors.
Comments
Post a Comment