correctly.
Tracy
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml">
<mx:Script><![CDATA[
private function onSelect(oEvent:Object)
{
var sURL:String = oEvent.target.selectedItem.link;
getURL(sURL, "_blank") ;
}
]]></mx:Script>
<mx:List change="onSelect(event)">
<mx:dataProvider>
<mx:Array>
<mx:Object label="Home" link="http://156.124.64.233" />
<mx:Object label="Google"
link="http://www.google.com" />
<mx:Object label="Yahoo"
link="http://www.yahoo.com" />
</mx:Array>
</mx:dataProvider>
</mx:List>
</mx:Application>
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Jay
Sent: Thursday, May 11, 2006 4:27 PM
To: [email protected]
Subject: [flexcoders] Still more Newbie Questions
Hello again.
I am trying to make a list of links that upon clicking would open the
desired web page
this is what I have tried
<mx:Script>
import mx.events.ItemClickEvent;
</mx:Script>
<mx:HBox paddingTop="20" paddingBottom="20" paddingRight="20"
paddingLeft="20" width="100%" height="90%" horizontalGap="20">
<mx:Panel width="100%" height="100%" title="Forms">
<mx:TabNavigator width="100%" height="100%">
<mx:Box label="List" paddingLeft="10">
<mx:List itemClick="navigateToURL(new
URLRequest(ItemClickEvent(event).item.link), '_Top')">
<mx:dataProvider>
<mx:Array>
<mx:Object label="Home" link="navigateToURL(new
URLRequest('http://156.124.64.233'), '_Top')" />
</mx:Array>
</mx:dataProvider>
</mx:List>
</mx:Box>
</mx:TabNavigator>
</mx:Panel>
</mx:HBox>
Once again I appreciate any thoughts
--
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
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

