Wednesday, October 15, 2008

Flex widget

For Internet Polyglot we developed a widget that does the following: it connects to the server, gets the data in JSON format over http and then presents the data to the users. The widget is developed using Flex. The widget looks like the following:

The code for this widget was:

but you can change the languages in this code. For example, if you want to show Spanish-French lessons then simply change wordLanguage and translationLanguage parameters in this code like this:

and the widget will start showing Spanish-French lessons like this: