Don』t use openXlib with Director Xtras
The openXlib command can load a scripting (Lingo) Xtra as well as the older Lingo XObject.
However, we recommend against using openXlib. Instead, place Xtras in the Xtras folder or a subfolder of it.
Here are some reasons against using openXlib.
openXlib only works for scripting Xtras. If an Xtra file contains tool or asset Xtras, openXlib won』t load them.
openXlib makes Director re-scan its set of Xtras to figure out what new Xtra is available. This can be slow.
Although openXlib makes Director re-scan Xtras, it still conflicts with the sophisticated versioning of Xtras (using BEGIN_XTRA_DEFINES_CLASS). openXlib may load the wrong code.
The only reason to use openXlib is if an Xtra has global or parent handlers and after a Lingo movie uses these you want to make the Xtra』s code unloadable.作者: 山里人 时间: 2014-11-5 17:19
有了您的参与论坛会更辉煌。作者: duanxb 时间: 2014-11-9 20:20
谢谢楼主提供分享作者: gxj000 时间: 2014-11-16 09:06
谢谢楼主提供分享!!作者: yipingzi 时间: 2015-1-13 10:50
看一看,逛一逛。