downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

SWFSprite::add> <SWFSoundInstance::noMultiple
[edit] Last updated: Fri, 24 May 2013

view this page in

La clase SWFSprite

(No hay información de versión disponible, podría estar únicamente en SVN)

Introducción

Un objeto SWFSprite, también conocido como "clip de película", permite crear objetos que son animados en sus propias líneas de tiempos. Por lo tanto, el sprite tiene la mayoría de los métodos que posee una película.

Sinopsis de la Clase

SWFSprite {
/* Métodos */
void add ( object $object )
__construct ( void )
void labelFrame ( string $label )
void nextFrame ( void )
void remove ( object $object )
void setFrames ( int $number )
SWFSoundInstance startSound ( SWFSound $sount )
void stopSound ( SWFSound $sount )
}

Tabla de contenidos



add a note add a note User Contributed Notes SWFSprite - [1 notes]
up
0
o dot marce at free dot fr
7 years ago
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);
?>

 
show source | credits | stats | sitemap | contact | advertising | mirror sites