作者alan5566123 (alanli)
看板Flash
标题[问题] flah可以用相对路径来连结网站嘛
时间Sun Oct 30 20:45:13 2016
小弟使用flash的按钮放在html的网站当做连结按钮,但是问题是如何让它连结上相对路
径的网站。我使用flash程式码片段的动作~按一下连结网站。程式码如下
button_1.addEventListener(MouseEvent.CLICK, fl_ClickToGoToWebPage);
function fl_ClickToGoToWebPage(event:MouseEvent):void
{
滢avigateToURL(new URLRequest("file:///C:/Users/AlanHsu/Desktop/wwwt1/t1.h
tml"), "_self");
该如何改,因为到时候要烧入光碟,到时候位置决非c槽
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 58.115.179.102
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Flash/M.1477831515.A.BB6.html
※ 编辑: alan5566123 (58.115.179.102), 10/30/2016 20:45:38
1F:→ jhnny97: 可以改成同一个目录底下的任何路径,但是不能外连其他网 10/31 12:21
2F:→ jhnny97: 域 10/31 12:21