首页 > 设计 > 媒体动画 > 正文

Authorware类和函数:authorware7.0脚本教学文章连载-- ActiveX Xtr

2020-09-19 18:42:59
字体:
来源:转载
供稿:网友

activexcontroldownload

语法:activexcontroldownload("classid","url",ver1,ver2,ver3,ver4)

说明:从url下载一个指定版本的activex控件并进行注册,下载成功则返回–1,否则返回0。如果将版本号(ver1,ver2,ver3,ver4)设置为(–1,–1,–1,–1),则下载该控件最新的版本。classid是32位16进制数字标识,用于惟一地表示每一个activex控件。例如,日历控件的classid为:{8e27c92b-1264-101c-8a2f-040224009c02}。

activexcontrolquery

语法:activexcontrolquery("classid")

说明:检查特定的activex是否已经注册,是则该函数返回–1,否则返回0。classid是32位16进制数字标识,用于惟一地表示每一个activex控件。例如,日历控件的classid为:{8e27c92b-1264-101c-8a2f-040224009c02}。

activexcontrolregister

语法:activexcontrolregister("filename")

说明: 安装一个自注册的activex控件,安装成功则函数返回–1,否则返回0。参数filename为控件文件名。

activexcontrolunregister

语法:activexcontrolunregister("filename")

说明: 卸载一个自注册的activex控件,卸载成功则函数返回–1,否则返回0。参数filename为控件文件名。

activexdownloadsetting

语法:activexdownloadsetting()

说明:检查系统是否允许下载activex控件,是则返回"enabled",否则返回"disabled"。

activexinstalled

语法:activexinstalled()

说明:检查系统是否提供对activex技术的支持,是则该函数返回–1,否则返回0。

activexsecuritydialog

语法:activexsecuritydialog ()

说明:显示【activex安全属性】对话框窗口,使用户可以改变系统的安全属性设置。

activexsecuritysetting

语法:activexsecuritysetting()

说明:检查系统的安全属性设置,返回当前的安全属性值:“high”,“medium”或“none”。只有当安全属性设置为“medium”或“none”时,系统才允许下载控件。

newobject

语法:newobject("activex")

说明:创建一个activex xtra对象。

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表