MACROMEDIA FLASH 8-USING FLASH Use Manual page 644

Using flash
Table of Contents

Advertisement

Second, create a file named skew.xml and place it in your Commands folder. Place the
following code into the file and save the file:
<dialog id="skew-dialog" title="Skew Selection" buttons="accept, cancel">
<grid>
<columns>
<column/>
<column/>
</columns>
<rows>
<row align="left">
<label value="Skew x: " control="xSkew" align="left"/>
<popupslider id="xSkew" minvalue="-180" maxvalue="180"/>
</row>
<row align="left">
<label value="Skew y:" control="ySkew" align="left"/>
<popupslider id="ySkew" minvalue="-180" maxvalue="180"/>
</row>
<row align="left">
<label value="Edge:" control="edge" align="left"/>
<menulist id="edge">
<menupop>
<menuitem label="top center"/>
<menuitem label="right center"/>
<menuitem label="bottom center"/>
<menuitem label="left center"/>
</menupop>
</menulist>
</row>
</rows>
</grid>
</dialog>
The
command now appears on the Commands menu. Draw a shape on the Stage, then
skew
select it with the pointer tool. If you then select the
menu, the dialog box defined by skew.xml appears, as shown in the following figure:
644
XML to UI
command from the Commands
skew

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents