Flex: flexTraffic v0.0.1

flexTraffic

The initial version of flexTraffic is here. This application displays BBC traffic and travel information on a Google Map hosted inside a Flex app. The data is fetched from the server side using the Flex mx:HTTPService component and parsed into a format which is then passed through FABridge to the map control.

In essence this has the same back-end as gTraffic but with a Flex application for the front-end.

There is lots of clever stuff going on here like two way communication between the html iframe and the Flex app through FABridge. The html component is the same one from here but it has been modified so it will hide itself automatically if it’s parent holder is no longer visible (I will post an example with code for this soon).

Comments

2 Responses to “Flex: flexTraffic v0.0.1”

  1. Kevin K on November 6th, 2009 8:25 pm

    Thanks for your excellent contributions to the community.

    Do you happen to have this code available? I would be very interested to see how to best hide the HTML when the parent is navigated away from.

  2. Administrator on November 20th, 2009 10:44 pm

    Kevin,

    The component I use is the flex iframe which I extended from original code. You can download it from here:

    http://code.google.com/p/flex-iframe/

    The code was never released. It it pretty esoteric. I am waiting to see if the iframe is totally broken with the Flex 4 release.

Leave a Reply