MACROMEDIA FLASH 8-USING FLASH Use Manual page 627

Using flash
Table of Contents

Advertisement

Second, create a file named choosefile.xml and place it in your Commands folder. Place the
following code into the file and save the file:
<?xml version="1.0"?>
<dialog id="choosefile-dialog" title="Choose File Example" buttons="accept,
cancel">
<vbox>
<label value="Please select a file: "/>
<choosefile id="choosefileControl" type="open" pathtype="relative"/>
</vbox>
</dialog>
The
command now appears on the Commands menu. If you have a Flash
choosefile
document open, you can select the
the dialog box defined by choosefile.xml appears, as shown in the following figure:
<colorchip>
Availability
Flash MX 2004.
Usage
<colorchip
id="myID"
color="myColor"/>
Attributes
String; represents a unique identification string that is used by the extensibility features
id
to identify the control and access the value it returns.
Number; hex number representing a color used as default value.
color
Child tags
None.
Parent tag
<dialog>, <hbox>,
choosefile
,
<row>
<vbox>
command from the Commands menu and
<colorchip>
627

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents