flex页面跳转

        import flash.net.URLRequest;
        import flash.net.navigateToURL;  
        import mx.core.Application;
  private function singlewelldemoClick(event:MouseEvent):void
{
var url:String="http://localhost:8080/testProject/bin/index.html";                    
        var u:URLRequest=new URLRequest(url);
        navigateToURL(u, "_blank"); 
                   
}
调用这个方法后,会打开一个新的页面http://localhost:8080/testProject/bin/index.html

你可能感兴趣的:(html,.net,Flex,Flash)