Widget.setUtilityOffset()

Availability

Flash Player 7 + TheSpringBox V1

Usage

Widget.setUtilityOffset(right:Number, top:Number) : Void;

Parameters

right - A Number specifying the distance of the right edge of the utility navigation from the right edge of the window.

top - A Number specifying the distance of the top edge of the utility navigation from the top edge of the window.

Returns

Nothing.

Description

Method; used to move the utility naviation of the wrapper. You may wish to use this if your widget is odd-shaped and the utility navigation would otherwise float outside of the bounderies of the widget shape.

Example

The function in this example places the utility naviation 10 pixels from the right and 50 pixels from the top edge of the wrapper.

Widget.setUtilityOffset(10,50);