Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...

When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store


(PHP 5 <= 5.3.0, PECL ming SVN)

SWFShape::__constructCreates a new shape object


SWFShape::__construct ( void )

This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk.

Created a new SWFShape object.


This simple example will draw a big red elliptic quadrant.

Example #1 swfshape() example

= new SWFShape();

$m = new SWFMovie();

header('Content-type: application/x-shockwave-flash');

PHP Manual