Adobe 65011817 Extended User Guide - Page 66
dom.convertPathToMarquee, dom.convertToAnimSymbol
UPC - 883919157368
View all Adobe 65011817 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 66 highlights
Last updated 12/8/2009 EXTENDING FIREWORKS 62 The Document object Description Converts marquee selection to path. dom.convertPathToMarquee() Availability Fireworks 7. Usage dom.convertPathToMarquee(mode, featherAmount) Arguments mode Sets the mode. Acceptable values are "hard edge", "antialias", and "feather". featherAmount Sets the amount of feathering for the marquee selection. This value is ignored if mode is not set to "feather" Returns Nothing. Description Converts path to marquee selection. dom.convertToAnimSymbol() Availability Fireworks 4. Usage dom.convetToAnimSymbol(name, numFrames, offsetDistPt, rotationAmount, scaleAmount, startOpacity, endOpacity) Arguments name A string that specifies a name for the new animation symbol. numFrames An integer that specifies the number of frames through which the symbol animates. offsetDistPt A point that specifies the distance the animation will move in pixels (see "Point data type" on page 8). For example, passing ({x:100, y:25}) animates the symbol to the right 100 pixels and 25 pixels down. rotationAmount A floating-point value that specifies the degrees of rotation to be applied to the animation symbol. For example, passing a value of 720 specifies an animation that does two complete clockwise rotations. To rotate the animation counter-clockwise, pass a negative number. scaleAmount A positive floating-point value that specifies the amount of scaling to be applied to the animation symbol. For example, passing a value of 50 scales the symbol to 50% of its current size, and passing 200 scales it to twice its current size. To specify no scaling, pass 100. startOpacity and endOpacity Float values between 0 and 100 that specify the starting and ending opacity for the animation symbol.