`
sherrysky
  • 浏览: 89757 次
  • 性别: Icon_minigender_2
  • 来自: 北京
社区版块
存档分类
最新评论

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
分享到:
评论
Global site tag (gtag.js) - Google Analytics