Adobe 65011817 Extended User Guide - Page 281
SliceInfo object
UPC - 883919157368
View all Adobe 65011817 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 281 highlights
Last updated 12/8/2009 EXTENDING FIREWORKS 277 HTML export objects SliceInfo object The following table lists the properties and methods of the SliceInfo object, along with their data types and, where appropriate, acceptable values and notes. All SliceInfo object properties are read-only. Property (read-only) or method altText backgroundAttachment Data type string string backgroundHorizontalPosition string backgroundHorizontalPositionVal long backgroundRepeat string backgroundVerticalPosition string backgroundVerticalPositionVal long behaviors object cellHeight cellWidth columnSpan downIndex integer integer integer zero-based index getFrameFileName (frameIndex) zero-based index hasAltText hasHref hasHtmlText hasImage hasImagemap hasTargetText height Boolean Boolean Boolean Boolean Boolean Boolean integer Notes The alternate text description for this slice. Specifies if the background image is fixed or scrolls with the rest of the page. Horizontal position of the background image. (Left, right, or center, numeric value) Horizontal position value of the background image if the argument is value. Specifies if the background image repeats, and if repeats in X, Y, Repeat (Both) and No Repeat. Vertical position of the background image. (Left, right, or center, numeric value). Vertical position value of the background image if the argument is value. BehaviorsList object that contains the behaviors for this slice (see "BehaviorsList object" on page 273). Height of this table row, in pixels. Width of this table column, in pixels. Span of the column. The index for the frame of the down state for button slices. Returns a string that is the filename for the slice on the specified frame, without directory or extension information. For example, when exporting a file base named Button, Slices[0][0].getFrameFileName(0) returns "Button_r1_c1".Generally all slices that have images have a frame filename. For frames 1 and higher, only slices that are rollovers or that are targeted by a swap image have names. Set to true if the slice has an alternate text description. Set to true if the slice has a URL. Set to true if the cell is a text-only slice. Set to true if this cell has an image. For text-only slices, this is set to false. Set to true if there are image map Hotspots in this image slice. Set to true if the target text is not empty. Height of the image in pixels, including row spans.