CHAPTER 9
304
Not bad. It even has the custom location in the address field. That way the customer will look at whatever
you are looking at.
Summary
In this chapter we covered how to create communication between Flex and JavaScript and vice versa.
One of the biggest advantages of using Flash and Flex is that you can be rest assured that the application
you created will run the same anywhere, because the code deployed is using the Flash Player, which is
consistent on devices and different browsers. JavaScript is not as consistent, and differs between
browsers so it’s important to test your application on different browsers. The ability to create
communication between Flex applications and JavaScript opens up some the doors for creating integration
and leveraging existing code. As an example of these integrations, we showed you a real-life application
using the communication between Flex and JavaScript creating a widget based on Yahoo! map. We also
showed you how to leverage Flex RSL to optimize your application size so your widget can be deployed
with the minimum size.

Get AdvancED Flex 4 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.