if you are looking to place 'rotated text' (not animated)
create the text without a location
then add it to the movie
$di = $movie->add($my_text_object);
then move and rotate the result.
$di->moveto($x,$y);
$di->rotate(90);
SWFDisplayItem->rotate
(PHP 4 >= 4.0.5)
SWFDisplayItem->rotate — 相対座標で回転させる
説明
void rotate
( float $angle
)
警告
この関数は、 実験的 なものです。この関数の動作・ 名前・その他ドキュメントに書かれている事項は、予告なく、将来的な PHP のリリースにおいて変更される可能性があります。 この関数は自己責任で使用してください。
swfdisplayitem->rotate() は、現在のオブジェクトを 現在の角度から ddegrees 度回転させます。
オブジェクトは、swfshape() か swfbutton()、swftext()、 swfsprite() のいずれかとなります。 これは、swfmovie->add() で追加されたものでなければなりません。
返り値
値を返しません。
SWFDisplayItem->rotate
alan_k at hklc dot com
31-Jul-2001 03:01
31-Jul-2001 03:01
