Hiya, I've been getting the strangest error: "Couldn't compile code. And I'm not smart enough to tell you why, sorry. in c3.php on line 25"
Here's a code listing, if anyone can give me a hint as to what's up that would be great, this is the first time the PHP interpreter has thrown a wobbly like this on me. Although I have a feeling that this is really a Ming error which is bubbling up through to the web server for output. <?php DL("php_ming.dll"); $movie = new SWFMovie(); $movie->setrate(2); $movie->setbackground(0xfff,0xfff,0xfff); $font = new SWFFont("_sans"); $text = new SWFTextField(SWFTEXTFIELD_DRAWBOX ); $text->setBounds(100,15); $text->setFont($font); $text->setColor(0xff, 0, 0); $text->setname("display"); $container = new SWFSprite(); $container->add($text); $container->nextFrame(); $handle2 = $movie->add($container); $handle2->setname("container"); $handle2->moveto(10,10); $movie->nextframe(); $movie->nextframe(); $movie->add(new SWFAction("loadVariables('vars.php','_root');")); $movie->add(new SWFAction("_root.container.display = _root.date")); header('Content-type: application/x-shockwave-flash'); $movie->output(); ?> Any help would be appreciated, TIA, Dw. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php