关于FLASH按钮链接的代码请帮我看看!急!
来源:百度知道 编辑:UC知道 时间:2024/06/05 05:57:03
为什么链接的是我电脑的路径
file:///E:/myflash/首页/flash/category1.htm.
而不是www.category1.htm的网址呢?怎么改?
sub.gotoAndStop(this._name);
myURL = [["www.category1.htm","www.category1.htm","www.category1.htm","www.category1.htm"],
["www.category2.htm","www.category2.htm","www.category2.htm<
file:///E:/myflash/首页/flash/category1.htm.
而不是www.category1.htm的网址呢?怎么改?
sub.gotoAndStop(this._name);
myURL = [["www.category1.htm","www.category1.htm","www.category1.htm","www.category1.htm"],
["www.category2.htm","www.category2.htm","www.category2.htm<
www.category1.htm被识别成了相对路径 所以会进入的是电脑的路径
加http://
将www.category1.htm
改为http://www.category1.htm
另外category1.htm不是域名