MACROMEDIA COLDFUSION MX 7.0.2-USING COLDFUSION MX WITH FLEX 2 Guide de l'utilisateur Page 92

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 256
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 91
92 Using ActionScript
Comparing ActionScript and ECMAScript
(JavaScript)
ActionScript 3.0 features a full implementation of ECMAScript for XML (E4X), recently
standardized as the ECMA-357 specification.
Using Flex Builder with ActionScript
Flex Builder includes a code editor that is the focal point for Adobe Flex application
development in Flex Builder. As you work with ActionScript, the Flex Builder code editor
helps to simplify and streamline your coding tasks by prompting you with hints that help you
complete code expressions, checking for syntax errors, and formatting your code to improve
readability.
For more information, see Chapter 9, “Code Editing in Flex Builder,” in Using Flex Builder 2.
About ActionScript in MXML applications
ActionScript extends the capabilities of Flex application developers. With ActionScript, you
can define event listeners, get or set component properties, handle callback functions, and
create new classes, packages, and components.
You can use ActionScript in your Flex applications in the following ways:
Insert ActionScript code blocks with the <mx:Script> tag. In these code blocks, you can
add new functions, handle errors and events, and perform other tasks in your application
or its supporting MXML files.
Call global ActionScript functions that are stored in the system_classes directory structure.
Reference external classes and packages in user_classes to handle more complex tasks. This
lets you take advantage of ActionScript support for object-oriented programming
concepts such as code reuse and inheritance.
Use standard Flex components. The logic of components and helper classes in the Flex
application model is based on ActionScript classes.
Extend existing components with ActionScript classes.
Create new components in ActionScript.
Create new components in the Flash authoring environment (SWC files).
Vue de la page 91
1 2 ... 87 88 89 90 91 92 93 94 95 96 97 ... 255 256

Commentaires sur ces manuels

Pas de commentaire