Flash, oooohhhhh! Saviour of the universe!
No, not the evil warlord and his arch enemy, but the ming library for PHP and other languages.
Take a quick look through the examples. Interesting eh?
Of course, I want to do something that Ming itself might not be able to do: create a static .swf file that can load image files given on the URL command line. I’ve gone searching and I’m grappling with new ideas. It seems I’ll have to write actionscript to load the image (that’s obvious if you think about it, Ming is out of the way when a .swf file is created.)
None of the examples I’ve come across accept parameters. 🙁
I’m going to look at this over the weekend if I find the time.
- Google Search: flash tutorial
- The bitmaps example on the Ming examples page offers a clue.
// add a third bitmap of xmms using MX actionscript
$strAction = “
$movie->add(new SWFAction(str_replace(“\r”, “”, $strAction)));
If I could replace the movie URL with a variable I’d be sorted!