主题:  在网页中播放DIRECTOR

Pastes

职务:普通成员
等级:1
金币:0.0
发贴:18
注册:2001/10/9 22:34:51
#12001/12/3 19:45:44
将DIR的文件打包成DCR,可是,由于里面有几个转场效果不是DIRECTOR自带的,所以用网页打开后,
系统总是提示找不到XTRAS文件,如何解决?



南山东篱摄螂

职务:普通成员
等级:4
金币:10.0
发贴:1840
注册:2000/10/22 10:31:19
#22001/12/3 22:00:28
解决的方面就是不要用这种转场,

当然也要一种方法是可行的,但只适用于局域网,就是把所需要的 xtra 拷贝到 shockwave 安装目录内的 Xtra目录中。
这个我在自己的局域网做过,用它实现局网络教学还是可以的,但要在internet中实现不是很方便,面有版权方面的原因。



精灵

职务:普通成员
等级:1
金币:0.0
发贴:57
注册:2001/7/13 14:53:46
#32001/12/4 1:20:11
一般都是可以的,你可以参考下面这个使用XtrAgent的方法

Using XtrAgent with Shockwave movies on the Web

You can license the auto-downloadable Shockwave safe version of XtrAgent to provide it for automatic download from your Web site.

The auto-downloadable Shockwave safe versions are the files
XtrAgent.w32 (Windows) and XtrAgent.ppc (MacOS). Note that the Xtra is only available for Windows, but the package is available for both platforms. The MacOS package is empty and required by Macromedia when authoring movies. It will never be downloaded to an end user's machine.


In order provide the Shockwave versions for automatic download, you'll need to put them in a single location on a server. eg:
www.myserver.com/packs/XtrAgent.ppc
www.myserver.com/packs/XtrAgent.w32

Then modify the xtrainfo.txt file in the Director 7 or later folder to reference this location eg:

; DirectXtras
[#namePPC:"XtrAgent.ppc", #nameW32:"XtrAgent.X32",#package:"http://www.myserver.com/packs/XtrAgent"]

Finally, add a reference to the package in your movie.
Open a movie that uses XtrAgent. From the Modify\Movie\Xtras dialog in director,
select the xtra in the list of xtras. The "Download if needed" checkbox should
now be enabled. (If it's not enabled, make sure the filename in xtrainfo.txt matches
the actual filename for the xtra.) Click on the checkbox and director will load
information from the package file for each platform and add it to the current movie.