3 Replies Latest reply on Jul 9, 2009 3:54 AM by jimmyoneshot

    Navigating to a user entered url

    jimmyoneshot Level 1

      In my application I have provided a text box that allows user's to enter a url which is then saved in the text field of a label. However now I want the user to be able to open the page of the url in internet explorer by clicking this label. The text field of the label will be populated when the user saves their url but I've added a url into the text field of the following code for the label as an example:-

       

      <mx:Label id="Profile5EmailLabel" text=www.yahoo.co.uk click="navigateToURL(new URLRequest('{Profile5EmailLabel.text}'),'_blank')"/>

       

      What changes do I need to make to the click code to get this to work properly?