In one of my recent projects, I had the requirement to open a browser window from within Flex on click of a button. Thats when I came across this Externalinterface call. Here is how I did it.
Dont forget to do this though :-
Might be useful to some of you trying to achieve the same in your project.
callLater() is a function thats rarely talked about and not very well documented as well but I find it rather very useful in some instances. Its quite handy when you want the UI to update and you do a series of things at once. Before each update of the screen, the Flash Player calls the set of functions that are scheduled for the update. Sometimes, a function should be called in the next update to allow the rest of the code scheduled for the current update to be executed. Some features, like effects, can cause queued functions to be delayed until the feature completes.
e.g. if you call a webservice or HTTPService onGridChange event, you will have to wait for that event to complete before you fire off another call to another HTTPService etc. This is where it gets very handy.
Details here .
Its syntax is simple.