Adobe 65011817 Extended User Guide - Page 253
Image object, Instance object
UPC - 883919157368
View all Adobe 65011817 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 253 highlights
Last updated 12/8/2009 EXTENDING FIREWORKS 249 Objects within Fireworks documents Property groupType smartShapeCode transformMode Data type string string string Notes Acceptable value is "normal". ("mask to image" and "mask to path" were deprecated in Fireworks MX.) The body of code in the JavaScript file that defines the Auto Shape object. Can be one of the following: "AlwaysTransform" If the Auto Shape is transformed in any way (scale, skew, rotate) the transformation matrix is modified. "DontTransformUniformScale" If the Auto Shape is scaled in uniformly, the actual points are moved; otherwise, the transformation matrix is modified. "DontTransformAnyScale" If the Auto Shape is scaled (even nonuniformly), the actual points are moved; otherwise, the transformation matrix is modified. The following table lists the methods of the Group object, along with their parameters. Method generateSmartShapeCode() Parameter string globalToSmartShapeCoords() point RegisterForEvent() string removeTransformation() smartShapeToGlobalCoords() none point unRegisterAllEvents() UnRegisterForEvent() none string Definition Generates JavaScript code for creating an Auto Shape. You can specify a string to prefix each line of output. Changes an object to the new coordinates after an Auto Shape is transformed (scaled, skewed, or rotated) so that the Auto Shape object contains the new location. Call this to receive notification of the string specifying a Fireworks event. smartShape.operation will be the name of the event triggered. Returns the total number of events registered after adding the specified event. Undoes the previous transformation. Converts a transformed (scaled, skewed, or rotated) SmartShape object's space into global space. (For more information, see globalToSmartShapeCoords() above.) Call this to stop receiving notification of all previously registered events. Call this to stop receiving notification of a single previously registered event. Image object Image is a subclass of the base class Element (for more information, see "Element object" on page 247). It contains no properties or methods other than those in Element. Instance object Instance is a subclass of the base class Element and contains the following properties in addition to those in Element (for more information, see "Element object" on page 247). Read-only properties are marked with a bullet (•).