注册 登录
编程论坛 WEB前端(UI)

郁闷ing=== Flash Paper 2路径问题==

发布于 2004-09-14 14:04, 1102 次点击
帮我解惑:郁闷ing=== Flash Paper 2路径问题== 帮我解惑:郁闷ing Flash Paper 2 生成的SWF可以通过AS载入到Flash影片中使用API进行控制,如下: createEmptyMovieClip("fPaper", 0); var my_mcl = new MovieClipLoader(); myListener = new Object(); my_mcl.addListener(myListener); my_mcl.loadClip("FlashPaper.swf", fPaper); myListener.onLoadInit = function (target_mc){ onEnterFrame = function(){ fPaper.showZoomUI(false); fPaper.showPrintUI(false); fPaper.setCurrentZoom("width"); fPaper.setCurrentPage(2); delete onEnterFrame; }; } 假如 my_mcl.loadClip("FlashPaper.swf", fPaper);中直接使用相对路径访问FlashPaper.swf(可以访问);如果是是绝对路径,或FlashPaper.swf文件 在一个站点上,就不能访问 如:(my_mcl.loadClip("D:\dd\cc\FlashPaper.swf", fPaper);my_mcl.loadClip("http://xxxx/xx/FlashPaper.swf";, fPaper);

如果路径是"C:\Inetpub\wwwroot\modules\meeting\ssss\files\ad.swf" 错误提示的路径确是: "C:\netpub\wwroot\odules\eeting\sss iles\d.swf" 郁闷。。。。

2 回复
#2
Ghost№麻雀2005-03-20 22:08
大家一起探讨下
#3
Ghost№麻雀2005-04-20 07:42
顶一下 希望有大虾指点一下
1