note 44262 deleted from function.swfdisplayitem.addcolor by tomsommer

From: Date: Mon, 19 Jul 2004 22:25:17 +0000
Subject: note 44262 deleted from function.swfdisplayitem.addcolor by tomsommer
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-73635@lists.php.net to get a copy of this message
Note Submitter: Julien Séjourné ---- There is a mistake, the swfdisplayitem object is not $i but $i1, and $i is the counter... So, please replace this note : "This function works in an absolute way. It means that it always add colors to the original ones. For example, if $i is an swfdisplayitem, this FOR loop do a "fade in" : <?php for ($i=255;$i>=0;$i=$i-10) { $i1->addcolor(0,0,0,-$i); $m->nextFrame(); } ?>" by "This function works in an absolute way. It means that it always add colors to the original ones. For example, if $i1 is an swfdisplayitem, this FOR loop do a "fade in" : <?php for ($i=255;$i>=0;$i=$i-10) { $i1->addcolor(0,0,0,-$i); $m->nextFrame(); } ?>" Thanks.

« previous php.notes (#73635) next »