2010-02-05 24 views
1

在flash中當我點擊按鈕時打開一個新窗口。但我需要在自己的窗口中。action script2.0 help

我的動作腳本是

的on(press){ 的getURL( 「的index.html」,_self); }

回答

1

爲 「窗口」,第二個參數應該用引號括起來:

on (press) { getURL("index.html", "_self"); } 
1

您是否嘗試過在第二個參數周圍使用引號?

on (press) { 
    getURL("index.html", "self"); 
}