Created
February 26, 2010 16:53
-
-
Save acotie/315895 to your computer and use it in GitHub Desktop.
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 characters
<mx:Script> | |
<![CDATA[ | |
import flash.net.*; | |
public function openNewWindow(event:MouseEvent):void { | |
var u:URLRequest = new URLRequest("http://www.adobe.com/flex"); | |
navigateToURL(u,"_self"); | |
} | |
]]> | |
</mx:Script> | |
<mx:Button label="Open New Window" click="openNewWindow(event)"/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment