ActionScript3.0で、リンク先へジャンプ!

Posted: 9月 9th, 2009 | Author: admin | Filed under: actionscript | No Comments »

以前のバージョンから変更されている。

click_btn.addEventListener(MouseEvent.CLICK, gotoURL1);
function gotoURL1(event:MouseEvent):void {
var theURL1:URLRequest = new URLRequest("http://web.talk-to.co.jp/");
navigateToURL(theURL1);
}

でOK。

navigateToURL(new URLRequest("index.html"), "_top");
navigateToURL(new URLRequest("index.html"), "_self");
などで、引数をしていできる

参照



Leave a Reply