
377
USING FLASH CS4 PROFESSIONAL
ActionScript
•
The editing context menu appears when a user right-clicks (Windows) or Control-clicks (Macintosh) in an editable
text field in a SWF file in Flash Player. You can add custom items to this menu. You cannot hide any built-in items.
Note:
Flash Player also displays an error context menu when a user right-clicks (Windows) or Control-clicks (Macintosh)
in Flash Player and no SWF file is loaded. You cannot customize this menu.
Customize context menus in Flash Player 7 by using the ContextMenu and ContextMenuItem objects in ActionScript
2.0. For more information on using these objects, see
ContextMenu
in the
ActionScript 2.0 Language Reference
.
Remember the following conditions when creating custom context menu items for Flash Player:
•
Custom items are added to a context menu in the order in which they are created. You cannot modify this order
after the items are created.
•
You can specify the visibility and enabling of custom items.
•
Custom context menu items are automatically encoded using Unicode UTF-8 text encoding.
Configuration folders installed with Flash
Flash places several configuration folders on your system when you install the application. The configuration folders
organize files associated with the application into appropriate levels of user access. You may want to view the contents
of these folders when you are working with ActionScript® or components. The configuration folders for Flash are as
follows:
Application-level configuration folder
Because it is in the application level, non-administrative users do not have write access to this directory. Typical paths
to this folder are as follows:
•
In Microsoft Windows XP or Microsoft Windows Vista, browse to
boot drive
\Program Files\Adobe\Adobe Flash
CS3\
language
\Configuration\.
•
On the Macintosh, browse to
Macintosh HD
/Applications/Adobe Flash CS3/Configuration/.
First Run folder
This sibling to the application-level configuration folder facilitates sharing configuration files among users of the same
computer. Folders and files in the First Run folder are automatically copied to the user-level configuration folder. Any
new files placed in the First Run folder are copied to the user-level configuration folder when you start the application.
Typical paths to the First Run folder are as follows:
•
In Windows XP or Vista, browse to
boot drive
\Program Files\Adobe\Adobe Flash CS3\
language
\First Run\.
•
On the Macintosh, browse to
Macintosh HD
/Applications/Adobe Flash CS3/First Run/.
User-level configuration folder
Found in the user profile area, this folder is always writable by the current user. Typical paths to this folder are as
follows:
•
In Windows XP or Vista, browse to
boot drive
\Documents and Settings\
username
\Local Settings\Application
Data\Adobe\Flash CS3\
language
\Configuration.
•
On the Macintosh, browse to
Macintosh HD
/Users/
username
/Library/Application Support/Adobe/Flash
CS3/
language
/Configuration/.
Updated 5 March 2009