Showing posts with label Flash. Show all posts
Showing posts with label Flash. Show all posts

Thursday, December 27

SWF Chart

I have experienced on populate data on chart by using swiff chart; Globfx product with PHP and coldfusion. But swiff chart is pricey. Today I found Open flash Chart.

Open Flash Chart, is open source. It is free to use. Why is it free? here is the excerpt from the website:
'Once upon a time I had to deal with a company who sell flash charting
components, their component had a bug that I needed fixing, so I emailed them
about it asking when it'd be fixed. (Remember that I had paid real money for
this software.) They were so incompetent, rude and obnoxious that after three or
four weeks of emails I thought to myself "I could learn Flash and Actionscript
and write my own charting component, release it as Open Source, host it on
sourceforge and build up a community of helpful coders faster than they can fix
a single bug." And that is what I did. And that is why it is free. I guess the
moral of the lesson is: don't piss off your customers.'

Monday, July 9

How to pass URL Parameter to Flash


  1. Learn what is FlashVars

  2. Add this code to your html when adding Flash object
  3. codebase=""http://macromedia.com/cabs/swflash.cab#version=6,0,0,0""
    WIDTH="250" HEIGHT="250" id="flaMovie1" ALIGN="CENTER">

    FlashVars VALUE="imageFilename=images%2Fimage1%2Ejpg">


    FlashVars="imageFilename=images%2Fimage1%2Ejpg"
    quality="high" bgcolor="#FFFFFF" WIDTH="250" HEIGHT="250"
    NAME="flaMovie1" ALIGN TYPE="application/x-shockwave-flash"
    PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
  4. Open Flash file (*.fla)

  5. Example use of query-string

  6. on (press)
    {
    getURL("page.php?catID="+_root.catID+"&state=KELANTAN&subcatID="+_root.subcatID);
    }

  7. catID was appended on the URL string