ActionScript 3.0 bible by Roger Braunstein

By Roger Braunstein

The ActionScript 3.0 Bible, second variation, is your finished consultant to the bleeding fringe of ActionScript 3.0 and the Flash Platform!

Show description

Read Online or Download ActionScript 3.0 bible PDF

Similar video production books

Flash CS5.5: The Missing Manual

You could construct every thing from easy animations to full-fledged iOS and Android apps with Flash CS5. five, yet studying this complicated software may be difficult—unless you've got this absolutely up-to-date, bestselling advisor. the right way to create stunning Flash results whether you haven't any programming event. With Flash CS5.

d'artiste Matte Painting 2: Digital Artists Master Class

During this quantity, Yusei Uesugi, Max Dennison, and Chris Thunig offer you valuable matte portray suggestions to enhance your talents. The ebook covers the method from notion all over to portray and 3-D recommendations and tips, to the final touch of complicated environments—including the well-known Coruscant series from superstar Wars: Episode III—Revenge of the Sith.

Reel success: creating demo reels and animation portfolios

Are you an animator seeking to get your foot within the door of the pinnacle studios? holiday it down with Reel good fortune. it really is difficult to get a task within the animation when you would not have a demo reel and portfolio that displays your distinctive type and extraordinary skills. The reception of that reel will make or holiday you; so it really is no ask yourself that making a demo reel could be this sort of daunting activity.

Additional resources for ActionScript 3.0 bible

Example text

0. Regular Expressions Regular expressions are a powerful way to find substrings that match patterns. Although regular expressions have long been built into sister languages such as JavaScript, regular expressions were never a part of ActionScript until now. 0 includes an intrinsic RegExp class, which allows you to run regular expressions natively in Flash Player. E4X E4X is short for ECMAScript for XML, and it is a new way to work with XML data in ActionScript. 0 by traversing the DOM, E4X allows you to work with XML in a much more natural and intuitive manner.

0 also introduces the concept of custom namespace attributes, but we get into that more in Chapter 3. 0 Language Basics Introducing Scope All variables and functions defined in ActionScript exist in a certain scope. This scope is defined as the area in which the object can be accessed and in which the value is defined. To understand this, we’ll use the analogy of levels of government. In most countries, the national government deals with issues affecting the entire country such as tax law, and local governments deal with local issues such as funding for a certain town’s school.

1. Launch Flex Builder and create a new ActionScript project (File ➪ New ➪ ActionScript Project). Follow the wizard and name the project whatever you like. It will help to name the project something other than the main class name. In Figure I-8, we have created an ActionScript project called ExampleProject. The wizard creates a main class for us this time, called ExampleProject. qxd:Layout 1 9/22/07 12:56 PM Page liii Introduction Flex Builder likes to have the main class, or Application, in the default package.

Download PDF sample

Rated 4.24 of 5 – based on 24 votes