Saturday, July 7, 2007

Flash Widget by Hussain

I really liked this presentation because Hussain made it very comprehendable by restraining himself from the assumption that his audience already knows certain things.
It was clear, simple, to the point and exemplified with a simple yet complete case.

What he essentially explained was what a widget is, what you need to build a simple application and how you'd go about doing it.

What you need would encompass - Adobe Flash & any scripting language which would retrieve some data from a database.

The script essentially, given a parameter, reads the data from the database corresponding to that parameter and returns it to the action script. And this parameter, it gets from the flash widget. For the Actionscript to do this it needs to use a function (to which you pass the url to the script and this parameter-something like a query string) to populate an object with the data from the database. So now you have your data in the Actionscript and you can do whatever you want with it.

To embed a widget in your website, you need a minuscule code that you need to paste, that represents the widget. This code contains the parameter that you need to pass to the Actionscript. In this little code you can restrict the running of the Actionscript behind the code as well as restrict navigation from within the code /widget(incase of a link within the widget for instance)
..

So all in all, a good concept, well explained and well understood. :)

1 comment:

thecancerus said...

i agree with you completely, thanks to hussain's session i solved the problem i was having in integration of flash games and and my web-application.

he showed me how to use the function that specifically i needed without reading or knowing Action script.

he was great..

del.icio.us tags