MACROMEDIA FLASH MX 2004-USING FLASH Use Manual page 464

Hide thumbs Also See for FLASH MX 2004-USING FLASH:
Table of Contents

Advertisement

inputIsValid = false;
}
if (ySkew == 0 || isNaN(ySkew)) {
inputIsValid = false;
}
// Call skewSelection() to carry out the resizing command.
if (inputIsValid ) {
fl.getDocumentDOM().skewSelection(xSkew, ySkew, edge);
}
}
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>
</menupop>
</menulist>
</row>
</rows>
</grid>
</dialog>
464
Appendix B: XML to UI
<menuitem label="top center"/>
<menuitem label="right center"/>
<menuitem label="bottom center"/>
<menuitem label="left center"/>

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-USING FLASH and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents