mike chambers | about

MXNA Reports : Flex / Flash / AJAX Integration

Tuesday, April 26, 2005

As Christian just posted, we have added a new section to the MXNA 2 beta. The new section is titled Reports, and lists all of the reports and analytics available at MXNA.

The report / charting mini-apps are built using the Flex Framework, and are then compiled into SWF. The ColdFusion page they are contained within dynamically passes info into the chart to configure default parameters. The charts and graphs are created using the components built into the Flex framework, and get their data from the MXNA web service API. When the user clicks on a chart item, Flash calls out to the containing HTML page, and a Javascript function uses some AJAX to load context sensitive posts into the HTML page. All without having to refresh the page.

We started this as a way to experiment with the Flex framework, and Flash / AJAX integration, and have been really happy with the results. By leveraging Flash and AJAX together, we can take advantage of the strengths of both Flash/ Flex (interactivity, ease of development, experience) and HTML (easy layout and formatting, displaying large amount of text based data), and ultimately provide an over all better user experience. Plus, if the user is using a browser that does not support AJAX, you can still view the data within the charting app.

Anyways, we are going to try to make another post with more detailed technical info on how the reports are put together.

You can view all of the reports here.

Btw, these reports are a lot of fun to make (we have two more about ready to launch), so if you have a suggestion for a specific report, please send it mxna@macromedia.com.

twitter github flickr behance