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 [email protected], "Doug Lowder" <[EMAIL PROTECTED]> wrote: > > 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 [email protected], "Chris Waguespack" > <cjwprostar@> wrote: > > > > I'm trying to make a link button that opens multiple links in > > different windows/tabs. > > Right now I have click calling this function > > > > private function OpenListings():void{ > > var listingData:Array=/*an array of links*/; > > var link:String=new String(); > > for each(link in listingData){ > > navigateToURL(new URLRequest(link),'_blank'); > > } > > } > > > > This only opens the last link in the array. Is there any way to > open > > more than one link at once? > > > > Thanks, > > Chris > > > ------------------------ Yahoo! Groups Sponsor --------------------~--> See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

