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.