|
Posted by s on 03/02/06 08:06
On Wed, 01 Mar 2006 17:03:51 -0800, Captain Dondo
<yan@NsOeSiPnAeMr.com> wrote:
>Could someone please look at this code and tell me wht is going on?
>This program dies on the "****" line with:
>Fatal error: Call to a member function on a non-object in
>/www/cgi-bin/pivot.php on line 33
>
>But AFAICT it is absolutely identical to the shape that went before....
>
>What am I missing?
> [snip]
> $c1 = new SWFShape();
> $c1->movePenTo(250,0);
> $cl->setLine(40, 0x7f, 0, 0);************************
> $c1->drawCircle(50);
The object's name is $c1 (cee-one) but you've typo'd it as $cl
(cee-ell).
hth
--
<s@guerril.la.ape> (to email, remove .ape)
Apologies for the ad below.
--
*** Free account sponsored by SecureIX.com ***
*** Encrypt your Internet usage with a free VPN account from http://www.SecureIX.com ***
[Back to original message]
|