河北石家庄红十字肝病:FLASH 画中画的下载问题!
来源:百度文库 编辑:杭州交通信息网 时间:2024/04/30 09:08:27
(暗影索尼克)
http://www.sega.com/gamesite/shadow/minigame/flash/Loader.swf
(神影无踪廖添丁)地址如下:
http://www.flashanywhere.net/maso/flash_game.swf
我下载下来以后在本地无法运行!经过研究发现是堪套了其他的FLASH和文件在里面!但是却不知道怎么可以将其他的需要载入的FLASH和文件下载下来!经过很多尝试无果(下载到本地无法正常运行,一片漆黑)!故特在向各位高人请教!最好有哪位高人可以将他下载下来后打包!可以本地运行!谢谢
(暗影索尼克)
http://www.sega.com/gamesite/shadow/minigame/flash/Loader.swf
这个FLASH搞定了!(需要下载6个文件到一个文件夹后便可以本地运行!)
http://www.sega.com/gamesite/shadow/minigame/flash/Postcard_Thumb.swf
http://www.sega.com/gamesite/shadow/minigame/flash/Level_Music.swf
http://www.sega.com/gamesite/shadow/minigame/flash/Title_Music.swf
http://www.sega.com/gamesite/shadow/minigame/flash/Shadow.swf
http://www.sega.com/gamesite/shadow/minigame/flash/Interface.swf
http://www.sega.com/gamesite/shadow/minigame/flash/Loader.swf
在本地运行Loader.swf就搞定了!但是(神影无踪廖添丁)地址如下:
http://www.flashanywhere.net/maso/flash_game.swf
却搞不定!郁闷!!
这是该动画第一帧的代码:
rootMenu = new ContextMenu();
rootMenu.hideBuiltInItems();
_root.menu = rootMenu;
myPath = "www.masodigitalstudio.com";
myPath2 = "ma.ntua.edu.tw";
myPath3 = "www.flashanywhere.net";
myPath4 = "www.skywind.com.tw";
myPath5 = "lab.mmug.com.tw";
checkPath = _url;
if (checkPath.indexOf(myPath) == -1 && checkPath.indexOf(myPath2) == -1 && checkPath.indexOf(myPath3) == -1 && checkPath.indexOf(myPath4) == -1 && checkPath.indexOf(myPath5) == -1)
{
unloadMovieNum(0);
} // end if
System.security.allowDomain("www.masodigitalstudio.com");
stop();
mask.onEnterFrame = function ()
{
var _l3 = 0;
_l3 = Math.round(_root.getBytesLoaded() / _root.getBytesTotal() * 100);
this._x = this.startPox + _l3 / 100 * 85.500000;
_root.percentV = _l3;
if (_l3 >= 100)
{
this.onEnterFrame = null;
_root.play();
} // end if
};
addCount = new LoadVars();
nothing = new LoadVars();
addCount.name = "Liao";
addCount.sendAndLoad("http://ma.ntua.edu.tw/g9150309/counter/counter.asp", nothing, "Post");
myPath = "www.masodigitalstudio.com";
myPath2 = "ma.ntua.edu.tw";
myPath3 = "www.flashanywhere.net";
myPath4 = "www.skywind.com.tw";
myPath5 = "lab.mmug.com.tw";
checkPath = _url;
if (checkPath.indexOf(myPath) == -1 && checkPath.indexOf(myPath2) == -1 && checkPath.indexOf(myPath3) == -1 && checkPath.indexOf(myPath4) == -1 && checkPath.indexOf(myPath5) == -1)
{
unloadMovieNum(0);
} // end if
这几句是用来检验flash动画的播放地址的,如果不在www.flashanywhere.net等网站中的一个中播放,它就会将动画卸载,也就是unloadMovieNum(0);所以,下在自己电脑上是无法播放的。也许,修改一下动画的源文件可以。
去官方网站玩吧……
http://sonic.sega.jp/images/game/shadow/index.html?
晕,发这么多做什么哟