|
主题: dir里调用pdf致命错误!求助!
|
![](http://res.5d.cn/heads/noface.gif) eos
职务:普通成员
等级:1
金币:0.0
发贴:24
|
#12003/6/4 14:33:54
我的DIR文件里要调用pdf文件,我使用了Acrobat Reader 中的ActiveX控件。在调入到cast后,放在屏幕上,双击它选定好绝对路劲后,一切正常。但是在用相对路径时,就出现了致命错误!必须退出DIR。 on EnterFrame me sprite(1).src = the moviePath & ″1.pdf″ end 是写在ActiveX控件所在的sprite里的sprite里面的。 ---以上写法不知是否有问题。 另外,假设我的pdf文件是放在DIR文件目录下abc目标里,文件名分别为(1,2,3,).pdf,我该如何写这几个文件的相对路径?
|
![](http://res.5d.cn/heads/623782.gif) D计划-混沌
职务:管理员
等级:6
金币:15.2
发贴:3528
|
#22003/6/4 15:50:05
试一下写 on exitframe me if sprite(1).src="" then sprite(1).src=(the moviepath&"1.pdf") end if go to the frame end
编辑历史:[这消息被54zq编辑过(编辑时间2003-06-04 16:07:18)] [这消息被54zq编辑过(编辑时间2003-06-04 16:09:27)]
|
![](http://res.5d.cn/heads/noface.gif) eos
职务:普通成员
等级:1
金币:0.0
发贴:24
|
#32003/6/4 16:15:10
on beginsprite me sprite(1).src = the moviePath & ″1.pdf″ end
换了你说的DIR里可以了,但打包后不行。 提示如下: This application requires an Xtra(Activex...) that either does not exist or failed to initialize prorerly.please make sure the appropriate Xtra are in the folddr(s) 然后又提示: script error.continue?
|
![](http://res.5d.cn/heads/623782.gif) D计划-混沌
职务:管理员
等级:6
金币:15.2
发贴:3528
|
#42003/6/4 16:29:45
![](images/confused.gif) 忘记打包插件Activex了 modify-->movie-->xtras add
|
![](http://res.5d.cn/heads/noface.gif) eos
职务:普通成员
等级:1
金币:0.0
发贴:24
|
#52003/6/4 16:38:37
呵呵,真是的,Activex打进去就可以了。感谢了54zq
|