Ming vs Flash

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.

Some links:

  • Google Search: flash tutorial
  • w3schools
  • Macromedia
  • Flash and Javascriptvery interesting.
  • 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!

Later.. I should have asked Google first. Here’s how to pass parameters to a Flash file. The variable name gets put into the _root name space automatically.

2 thoughts on “Ming vs Flash

Leave a Reply

%d bloggers like this:

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.