I'm trying to call an external URL from mx:XMLLIST. It would be best if the web page can either open in the current window or on a new tab in the browser. Is there any way to do this with a 'click' attribute (see code below) or must I use ActionScript? Any suggestions would be appreciated!
<mx:Tree id="tree1" labelField="@label" showRoot="true">
<node label="URL label" click="http://???" />
You must use actionscript to pull the click url from the XML node and call
Okay, thanks. A little background: I'm going to be referring to many
different web pages -- the good news is that they are all located in the
same directory on the web server. That being said, could I set up my
function in actionscript to hold the majority of the URL and just list the
name of only the web page in click event on the XML node? If you could
provide an example, I would greatly appreciate it.