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

search for in the

SWFText::getAscent> <SWFText::addUTF8String
[edit] Last updated: Fri, 07 Jun 2013

view this page in

SWFText::__construct

(PHP 5 <= 5.3.0, PECL ming SVN)

SWFText::__constructCrea un nuevo objeto SWFText

Descripción

SWFText::__construct ( void )
Advertencia

Esta función ha sido declarada EXPERIMENTAL. Su comportamiento, su nombre y la documentación que le acompaña puede cambiar sin previo aviso en futuras versiones de PHP. Use esta función bajo su propio riesgo.

Crea un nuevo objeto SWFText, listo para su manipulación.

Ejemplos

Este sencillo ejemplo dibujará un gran texto "¡¡PHP genera Flash con Ming!!" amarillo sobre fondo blanco.

Ejemplo #1 swftext() example

<?php
$f 
= new SWFFont("Techno.fdb");
$t = new SWFText();
$t->setFont($f);
$t->moveTo(2002400);
$t->setColor(0xff0xff0);
$t->setHeight(1200);
$t->addString("¡¡PHP genera Flash con Ming!!");

$m = new SWFMovie();
$m->setDimension(54003600);

$m->add($t);

header('Content-type: application/x-shockwave-flash');
$m->output();
?>



add a note add a note User Contributed Notes SWFText::__construct - [0 notes]
There are no user contributed notes for this page.

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