note 91878 deleted from function.swftext.construct by danbrown

From: Date: Tue, 30 Jun 2009 21:52:50 +0000
Subject: note 91878 deleted from function.swftext.construct by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-157728@lists.php.net to get a copy of this message
Note Submitter: DerHorst at gmail dot com ---- Note that the statet example does not work (at least in Ming Version 0.3.0). Another possibility to add a string with ming is to set up a TextField first. Here a (simple keeped) examplecode, working for copy & paste: <?php $m = new SWFMovie(); $m->setDimension(160, 160); $t = new SWFTextField(); // Set the width and height of the TextField $t->setBounds(150, 150); // not required, but very usefull for not cut the chars $t->setFont(new SWFFont("_serif")); $t->addString('Your string here'); // Example for manipulating the properties of the string: $t->setHeight(15); $m->add($t); header('Content-type: application/x-shockwave-flash'); $m->output(); ?>

« previous php.notes (#157728) next »