SWFDisplayItem->multColor -- Multiplies the item's color transform
Syntax
void swfdisplayitem->multcolor ( [int red [, int green [, int blue [, int a]]]] )
Warning
This function is
EXPERIMENTAL. The behaviour of this function, the
name of this function, and anything else documented about this
function may change without notice in a future release of PHP.
Use this function at your own risk.
swfdisplayitem->multcolor() multiplies the item's
color transform by the given values.
This simple example will modify your picture's atmosphere
to Halloween (use a landscape or bright picture).
Example 1. swfdisplayitem->multcolor() example
<?php
$b = new SWFBitmap(file_get_contents("backyard.jpg")); // note use your own picture :-) $s = new SWFShape(); $s->setRightFill($s->addFill($b)); $s->drawLine($b->getWidth(), 0); $s->drawLine(0, $b->getHeight()); $s->drawLine(-$b->getWidth(), 0); $s->drawLine(0, -$b->getHeight());
$m = new SWFMovie(); $m->setDimension($b->getWidth(), $b->getHeight());
swfdisplayitem.multcolor php code on this is provided for your study purpose, it will guide you to know how create and design a website using php. use it to practice and train your self online
Php swfdisplayitem.multcolor syntax tutorial
php tutorial guide and code design are for easy learning and programming. The code practice section provided at the top is for practising of this syntax. Use the code section up to practice your php programming online. Learning php is very easy, all you need is to use the examples on this site and practice them to perfect your skills.