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");
などで、引数をしていできる
参照
- http://flash.talk-to.co.jp/index.php?itemid=13
- http://www.yoshifumiohama.com/fenoroa_blog/2008/05/actionscript30-2.html

Leave a Reply