Note that when adding an sprite to a container (sprite or movie), only the object added to the sprite before the addin to the container will be displayed.
<?php
// In this case, myShape will be displayed...
$sp=new SWFSprite();
$container=new SWFSprite();
$sp->add($myShape);
$container->add($sp);
// but not in this case
$sp=new SWFSprite();
$container=new SWFSprite();
$container->add($sp);
$sp->add($myShape);
?>
SWFSprite クラス
導入
SWFSprite は "ムービークリップ" ともいいます。これにより、作成したオブジェクトを 時間軸にそって動かすことができるようになります。 したがって、スプライトはムービーのメソッドの大半を保持しています。
クラス概要
目次
- SWFSprite->add — オブジェクトをスプライトに追加する
- SWFSprite->__construct — ムービークリップ (スプライト) を作成する
- SWFSprite->labelFrame — フレームにラベルをつける
- SWFSprite->nextFrame — 動画の次のフレームに移動する
- SWFSprite->remove — オブジェクトをスプライトから削除する
- SWFSprite->setFrames — 動画の総フレーム数を設定する
- SWFSprite->startSound — 説明
- SWFSprite->stopSound — 説明
SWFSprite
o dot marce at free dot fr
03-Oct-2005 07:47
03-Oct-2005 07:47
