Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2003022

[PHP] MING with PHP From: Adam Voigt (adam <email protected>)
Date: 02/24/03

Ok, trying to make even a simple test work with PHP using the MING
extension under windows, I've uncommented the MING dll in the php.ini
and I don't get any error's, but my test shockwave movie just spins and
spins, no error log, no nothing, the code I'm using is:

$t = new SWFText();
  $t->moveTo(300,50);
  $t->setColor(100,100,100);
  $t->setHeight(30);
  $t->addString("PHP generates Flash with Ming!!");

  $m = new SWFMovie();
  $m->setDimension(500, 100);

  $m->add($t);

  header('Content-type: application/x-shockwave-flash');
  $m->output();

Any ideas?

-- 
Adam Voigt (adam <email protected>)
The Cryptocomm Group
My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc