开发者

link in SWF should open a new page, but doesn't

开发者 https://www.devze.com 2022-12-28 11:01 出处:网络
I have some images floating around in my SWF. The SWF holds several buttons, linked to those pics etc.

I have some images floating around in my SWF. The SWF holds several buttons, linked to those pics etc. The buttons have actions:

on(release)开发者_StackOverflow社区 { getURL("http://domain.com/sub/folder/page.html/"); }

When clicking on the image I would like a new page to open in which the link is executed. How come the current code isn't working? thanks


Got it!!

I needed to use "_blank" as the target:

on(release) { getURL("http://domain.com/sub/folder/page.html/","_blank"); }
0

精彩评论

暂无评论...
验证码 换一张
取 消