Created
May 8, 2013 20:24
-
-
Save fenixkim/5543354 to your computer and use it in GitHub Desktop.
Revisions
-
fenixkim created this gist
May 8, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ import flash.events.MouseEvent; import flash.net.navigateToURL; import flash.net.URLRequest; boton1.addEventListener(MouseEvent.CLICK, onBoton1Click); boton2.addEventListener(MouseEvent.CLICK, onBoton2Click); function onBoton1Click (event:MouseEvent) { navigateToURL(new URLRequest("http://apple.com"), "_blank"); } function onBoton2Click (event:MouseEvent) { navigateToURL(new URLRequest("http://google.com"), "_blank"); }