| 3d Object Methods | |
|
make3d(button,"top border color","bottom border color","edge color") The make3d() method creates a 3d effect for a layer.
button a boolean value,if true,makes the layer behave like a button (clickable).
Note: The effect is made by inserting another layer beneath the layer. | |
| show3d(true/false,true/false) |
Hides/shows the 3d effect of a layer. The second parameter sets weather the layer itself is included(default is false). Returns the calling layer. |
| reset3d() |
Resets the 3d effect after the main layer has been altered in some way. Returns the calling layer. |
| remove3dLip("edge") |
Removes the right and bottom 3d lip. This can be used to prevent scrollbars from appearing when a layer is positioned on the edge of a window. edge is the edge to be removed,the value can be "right","bottom" or "both". Returns the calling layer. |
|
buttonUp() buttonDown() |
These methods are call automatically when a 3d object is a button. They can also be run via scripting to press a button. Returns the calling layer. |
| 3d Object Properties | |
|
layerObject.is3dButton.....if true,makes a 3d object "clickable". layerObject.has3d.....returns true if a layer has a 3d effect applied to it. layerObject.isButtonDown.....returns true if a button is currently pressed down. | |