Check out the code below.
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:Script> <![CDATA[ import flash.net.navigateToURL; private function loadURL():void{ navigateToURL(new URLRequest("http://www.google.com"),"_blank"); } ]]> </mx:Script> <mx:Button x="453" y="145" label="Button" click="loadURL();"/> </mx:Application> christophe_jacquelin wrote: > > Hello, > > How to have a button that open another web page ? > > Thank you, > Christophe, > > > > -- View this message in context: http://www.nabble.com/Button-to-link-tp23911003p23912732.html Sent from the FlexCoders mailing list archive at Nabble.com.