Ming - a SWF output library and PHP module

phpでflash - 山の上の大学の大学院生(でしたが卒業)の個人メモでphp4にming0.4.0beta4を入れたと書いたのだが,SWFSpriteが使えなかった.SWFSprite->addで,以下のエラーが出ていた.

[error] PHP Warning:  add() [<a href='function.add'>function.add</a>]: Unable to find property sprite in hoge.php on line 18
[error] PHP Fatal error:  add() [<a href='function.add'>function.add</a>]: Called object is not an SWFSprite in hoge.php on line 18

エラーは両方とも,ming-0.4.0.beta4/php_ext/ming.c が出したものであり,mingのソースがわからないとわからない.ということでわからない.

解決できなかったので,php4からphp5にした.動いた.だけど原因はわからないまま.現在の環境はPHP 5.2.3+ming-0.4.0.beta4.tar.gzである.