PHP Manual
Prev |  | Next

# SWFDisplayItem->scaleTo

(unknown)

SWFDisplayItem->scaleTo -- Scales the object in global coordinates.

## Description

``void swfdisplayitem->scaleto` (int x, int y)`

Warning
This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change in a future release of PHP without notice. Be warned and use this function at your own risk.

swfdisplayitem->scaleto() scales the current object to (`x`,`y`) in global coordinates.

The object may be a swfshape(), a swfbutton(), a swftext() or a swfsprite() object. It must have been added using the swfmovie->add().

See also swfdisplayitem->scale().

Prev | Home | Next
SWFDisplayItem->move | Up | SWFDisplayItem->scale