It's good to know that when you do "$i->scaleTo(0,0)", it doesn't output an "empty object" ( nothing... ) on the screen, but the object with its original dimensions.
SWFDisplayItem::scaleTo
(PHP 4 >= 4.0.5)
SWFDisplayItem::scaleTo — Scales the object in global coordinates
Descrizione
void SWFDisplayItem::scaleTo
( float
$x
[, float $y
] )Avviso
Questa funzione è SPERIMENTALE. Ovvero, il comportamento di questa funzione, il nome di questa funzione, in definitiva tutto ciò che è documentato qui può cambiare nei futuri rilasci del PHP senza preavviso. Siete avvisati, l'uso di questa funzione è a vostro rischio.
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().
Valori restituiti
Nessun valore viene restituito.
Julien Séjourné ¶
8 years ago
