Weird. I had to throw in some callLaters. I didn't know that's how navigateToURL() works.
http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="OpenListing(0)">
--- In flexcoders@yahoogroups.com, "Chris Waguespack" <[EMAIL PROTECTED]> wrote:>> This does not work either. In fact,
I don't know if this is the best way to do this, but this seems to work:
private function OpenListings():void{
var listingData:Array=/*an array of links*/;
ExternalInterface.call("openURLs",listingData);
}
And a function in Javascript in the wrapper:
function openURLs(urls){
fo
This does not work either. In fact, having two navigateToURL requests
in the same function only triggers the last one. Anyone know of a way
around this?
Thanks,
Chris
--- In flexcoders@yahoogroups.com, "Doug Lowder" <[EMAIL PROTECTED]> wrote:
>
> Try iterating through the array elements:
>
>
Try iterating through the array elements:
private function OpenListings():void{
var listingData:Array=/*an array of links*/;
for (var i = 0; i < listingData.length; i++){
navigateToURL(new URLRequest(listingData[i]),'_blank');
}
}
--- In flexcoders@yahoogroups.com, "Chris Wag
4 matches
Mail list logo