Hi I have a xml file and it has a <button1>800</button1> and so
forth, and also I have a repeater (a horizontal list) which grabs the
xml and the item renderer with a button, instead of doing the horizontal
list do the click I'd like to make the button inside the item
renderer to do that.
how could I do that?
I was trying to use
in the item rendered
private function send():void{
<mx:Script>
<![CDATA[
public function send(event:MouseEvent):void{
var urlRequest : URLRequest = new URLRequest("{data.button1}");
navigateToURL( urlRequest, "_self" );
}
]]>
</mx:Script>
and in the button: click="send()"
so far, it is just putting in my browser mybroser/{data.button1}
but I'd like to put in there the URL, how could I?
Regards,
Gus
Gustavo A. Duenas
Creative Director
LEFT AND RIGHT SOLUTIONS
904. 265 0330 - 904. 386 7958
www.leftandrightsolutions.com
Jacksonville - Florida