Summary


  • Before you begin to add complex interactivity to your Flash document, you need to break down the steps in the interactive process in a natural language that you can understand.

  • After you know what you want your presentation to do, you can start to clarify the interactive steps and translate those steps into Flash-compatible actions.

  • You can add ActionScript to your Flash document with the Actions panel. The Actions panel's Script pane is where you type or insert the actions that are invoked from elements in a Flash movie.

  • ActionScript 2.0 can declare data types for each variable you use in a Flash movie. This practice, known as strong typing, enables you to catch errors within your ActionScript code more easily.

  • Variables, a programming device, enable you to store property values, strings, paths, or expressions in order to reduce the redundancy of code and to simplify the process of computing information.

  • Variables can be declared with actions, input, or dynamic text fields, or by loading them from an external data source, such as a server-side script, text document, or HTML-specified flashvars values.

  • Expressions are equations that refer to a mathematical operation, a string concatenation, or an existing code object (another variable or object value).

  • You can use if...else if...else actions to add intelligence to your interactive actions. These actions test a condition and execute a certain set of actions if the condition is true.

  • Loop actions execute a given set of actions repeatedly until a loop condition is no longer true.




Macromedia Flash 8 Bible
Macromedia Flash8 Bible
ISBN: 0471746762
EAN: 2147483647
Year: 2006
Pages: 395

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net