Flash AS1/2 (AS3 的不能用此寫法) 要設定點選後, 連結到外站網址的寫法.
Flash 設定 連結網址 的 寫法
on (release) {
getURL("url_to_load", "target");
}
target 參數
- _blank: new window
- _parent: the same window
- _top: replacing a frameset window
範例
on (release) {
getURL("http://example.com","_blank");
}
on (release) {
getURL("mailto:foo@example.com");
}