Are you sure you're setting the label property on Link? 

<mx:Link [EMAIL PROTECTED] click="navigateToURL(new URLRequest(...))"/>


-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of motareal
Sent: Thursday, February 16, 2006 5:40 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] LINK PROBLEM

Hi,

i have a flex application, which is basically composed by a divided 
box, on the left theres a tree navigation created by an xml file 
thru an asp file, on the right there are the results that appears if 
you click on the tree sections. This results are into a database, 
and are called through the function [EMAIL PROTECTED]
As you can see from the code attached down here, results are divided 
in a serie of Label and 2 TextInput, this last two, should contain a 
link, that is also took from the database file, but it doesnt work, 
i tried several way, and i dont know how to do it, some of you have 
any idea please?
It should be linked: [EMAIL PROTECTED]
and: [EMAIL PROTECTED]

I appreciated... 
Max


<?xml version="1.0" encoding="utf-8"?>

<mx:Application xmlns:mx="http://www.macromedia.com/2005/mxml";
    creationComplete="srv.send()" width="580" 
horizontalAlign="center" height="379" borderStyle="solid" 
backgroundColor="#527FC1">

<mx:Script>
<![CDATA[

      [Bindable]
      public var selectedNode:Object;

    [Bindable]
      public var XLC:XML;

      public function initList(event:Event)
      {
          XLC = event.target.result;
      }

      public function treeChanged(event:Event) {
          selectedNode=Tree(event.target).selectedNode;
      }

]]>
</mx:Script>

<mx:HTTPService id="srv" url="../bin/tree.asp" resultFormat="e4x"
    result="initList(event)"/>

<mx:HDividedBox width="100%" height="320">
    <mx:Tree id="myTree" width="266" height="320" labelField="@label"
        rootVisible="false" dataProvider="{XLC}" change="treeChanged
(event)"/>
       <mx:VBox width="234" textAlign="center" height="320" 
verticalAlign="middle">
            <mx:Label text="[EMAIL PROTECTED]" 
fontFamily="Verdana" fontSize="14" fontWeight="bold" 
textAlign="center" width="250" color="#ffffff"/>
            <mx:Label text="[EMAIL PROTECTED]" 
textAlign="center" width="250" color="#ffffff" fontWeight="bold" 
fontSize="11"/>
            <mx:Label text="[EMAIL PROTECTED]" 
textAlign="center" width="250" color="#ffffff" fontWeight="bold" 
fontSize="11"/>
            <mx:Label text="[EMAIL PROTECTED]" width="250" 
fontWeight="bold" fontSize="14" color="#000000"/>
            <mx:Label text="[EMAIL PROTECTED]" 
width="250" fontWeight="bold" color="#ffffff" fontSize="12"/>
            <mx:Label text="[EMAIL PROTECTED]" width="250" 
fontWeight="bold" color="#ffffff" fontSize="12"/>
            <mx:TextInput text="[EMAIL PROTECTED]" editable="true" 
width="250" fontWeight="bold" backgroundColor="#527FC1" 
color="#ffffff" fontSize="11"/>
            <mx:TextInput text="[EMAIL PROTECTED]" 
editable="true" width="250" fontWeight="bold" 
backgroundColor="#527FC1" color="#ffffff" fontSize="11"/>
        </mx:VBox>
</mx:HDividedBox>

</mx:Application>





--
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. 




--
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/
 


Reply via email to