New in ActionScript 2.0 and Flash 8
27
■
The
prefix
property of the XMLNode class, which reads the prefix of the node name.
■
The
getNamespaceForPrefix()
method of the XMLNode class, which returns the
namespace URI associated with the specified prefix for the node.
■
The
getPrefixForNamespace
method of the XMLNode class, which returns the prefix
associated with a specified namespace URI for the node.
About deprecated language elements
Some language elements are deprecated in Flash Player 8. For a list of deprecated language
elements, and alternatives to use in Flash Player 8, see the following sections in the
ActionScript 2.0 Language Reference
:
■
Deprecated Class summary
■
Deprecated Function summary
■
Deprecated Property summary
■
Deprecated Operator summary
ActionScript editing changes
The ActionScript editor in the Actions panel and Script window has been updated in several
ways to make it more robust and easier to use than earlier versions of the tool. The changes are
summarized in this section.
View hidden characters
You can now use the Options pop-up menu in the Script pane,
Debugger panel, and Output panel to view or hide hidden characters when you’re writing
script files in the Actions panel or Script window. For information on this feature, see
“Showing hidden characters” on page 53
.
Script assist added to Actions panel
In previous versions of Flash, you could work in the
Actions panel either in
normal mode
, in which you filled in options and parameters to create
code, or in
expert mode
, in which you added commands directly into the Script pane. These
options were not available in Flash MX 2004 or Flash MX Professional 2004. However, in
Flash Basic 8 and Flash Professional 8, you can work in
Script Assist mode
, which is similar to
(and more robust than) normal mode. For information on Script Assist, see
Chapter 13,
“Writing ActionScript with Script Assist”
in
Using Flash
. For a tutorial on Script Assist, see
Chapter 13, “Creating a startDrag/stopDrag event using Script Assist”
in
Using Flash
.
Содержание FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH
Страница 1: ...Learning ActionScript 2 0 in Flash...
Страница 8: ...8 Contents...
Страница 18: ...18 Introduction...
Страница 30: ...30 What s New in Flash 8 ActionScript...
Страница 66: ...66 Writing and Editing ActionScript 2 0...
Страница 328: ...328 Interfaces...
Страница 350: ...350 Handling Events...
Страница 590: ...590 Creating Interaction with ActionScript...
Страница 710: ...710 Understanding Security...
Страница 730: ...730 Debugging Applications...
Страница 780: ...780 Deprecated Flash 4 operators...
Страница 830: ...830 Index...