![MACROMEDIA FLEX - DEVELOPING COMPONENTS AND THEMES Скачать руководство пользователя страница 10](http://html1.mh-extra.com/html/macromedia/flex-developing-components-and-themes/flex-developing-components-and-themes_manual_3388115010.webp)
10
Chapter 1: Working with Flash MX 2004
About the default classpath
The default local classpath is empty. The default global classpath consists of the following paths:
•
. (the dot)
•
$(LocalData)/Classes
The dot (.) indicates the current working directory. Flash searches the FLA file’s current directory
for the ActionScript classes it needs.
The $(LocalData)/Classes path indicates the per-user configuration directory. This directory
points to the following physical locations:
•
On Windows 2000 or Windows XP, this directory is C:\Documents and Settings\
username
\
Local Settings\Application Data\ Macromedia\Flash MX 2004\en\Configuration\Classes.
•
On the Macintosh, this directory is
volume
:Users:
username
:Library:Application Support:
Macromedia:Flash MX 2004:en:configuration:classes.
The user configuration directories mirror the directories located in
Flash_root
/en/Configuration.
However, the classpath does not directly include those directories.
By default, Flash MX 2004 does not include the Flex classes in its environment. You must
download and install a separate set of files, and then add them to your classpath settings. For
more information, see
“Adding Flex classes and components to the Flash IDE” on page 8
.
Changing the Flash classpath
This section describes how to change the global and local classpaths. Macromedia recommends
changing only the local classpath and adding the following entries to your local classpath:
•
$(LocalData)/Flex Classes
•
. (the dot)
The $(LocalData)/Flex Classes classpath entry points to the classes that you extracted in
“Adding
Flex classes and components to the Flash IDE” on page 8
. The dot (.) indicates the current
working directory in Flash. This is the directory in which you store your FLA file.
Note:
To edit the local classpath, you must have a FLA file open.
To change the local classpath:
1.
Create a new FLA file or open an existing FLA file in Flash.
2.
Select File > Publish Settings.
The Publish Settings dialog box appears.
3.
Select the Flash tab.
4.
Click the Settings button.
The ActionScript Settings dialog box appears.
5.
Add, remove, or edit entries in the Classpath dialog box.
6.
Click OK to save your changes.
7.
Save the FLA file.
Содержание FLEX - DEVELOPING COMPONENTS AND THEMES
Страница 1: ...Developing Flex Components and Themes in Flash Authoring ...
Страница 4: ...4 Contents ...
Страница 44: ...44 Chapter 2 Creating Basic Components in Flash MX 2004 ...
Страница 82: ...82 Index ...