打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
How can a Shockwave movie pass information to...
Accessibility
Adobe

  1. Home /
  2. Support /
Public

TechNote

How can a Shockwave movie pass information to and from a browser?

Communication between Shockwave movies and a Web browser is possible using the Lingo commands ‘externalEvent‘ and ‘on evalScript‘. These commands allow for the exchange of strings between a Shockwave movie and a JavaScript and or VBscript in the Web page. These commands open the door to a very powerful method of information exchange. The possibilities of what can be accomplished are limited only by your own scripting abilities.

Macromedia technical support does not provide troubleshooting support for CGI, JAVA, JavaScript or VBscripts used in conjunction with these Lingo commands. The source example movies linked below demonstrate the ability of these commands to successfully pass information. What you choose to do with the information passed in your own movies is up to your development expertise.

The command ‘externalEvent‘ is used to pass information from a Shockwave movie to the browser. A string is sent to a JavaScript / VBscript located on the same page, which is designed to receive the string. See Example of evalScript command (TechNote 14163) for full details and a working example of externalEvent.

The command ‘on evalScript‘ is used to receive a string from the browser and use this in the Shockwave movie. The string received is sent from a JavaScript / VBscript located on the same page.Example of externalEvent command (TechNote 12645) contains instructions and a working example of evalScript.

The ‘postNetText‘ and ‘getNetText‘ Lingo commands can be used for passing information between a Shockwave movie and CGI scripts. Like the ‘externalEvent‘ and ‘on evalScript‘ commands, information is passed or received by the Shockwave movie as strings.

Additional information

For more details, go to Is it possible to send Lingo messages between Shockwave movies playing on the same page? (TechNote 12514)

Here are some useful links for learning and understanding JavaScripts, VBScripts and CGI:

JavaScripts:
http://www.javascripts.com
http://www.javascript.com
Web Monkey: Javascript Code Library

VBScripts:
VBscript from Microsoft‘s Web page
DevGuru VBScript Quick Reference
http://www.vbscripts.com

CGI scripts:
The CGI Collection
The CGI Resource

Dreamweaver Web sites (TechNote 12607)

Note: These sites are not affiliated in any way with Macromedia. While Macromedia employees may occasionally post messages or reply to messages on these sites, Macromedia does not commit its employees to monitoring these sites and/or replying to messages on them. Likewise, Macromedia has no editorial control over the included content. We can not guarantee the accuracy or veracity of any information found within. These sites are presented to you as additional resources that may benefit you or your work with our products. Please read any FAQs that these sites make available and observe any etiquette that these sites require.

Platform

All

Server

All

TechNote Details

Last Update: 11-30-2004
ID: tn_14617
Database:
  • All
Browser:
  • All
Permanent Link: http://www.adobe.com/go/tn_14617

TechNote Details

ID:
tn_14617
Database:
  • All
Browser:
  • All

Did this resolve your problem?

Yes
No

300 characters

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
很全的漂亮的时钟(可直接看效果)
大自然的交响乐 音画
引用 几款视频播放器代码
推荐几种在网页中播放FLV视频文件的代码(附FLV播放器)
情侣博客装饰-代码分享
网页插入flash代码以及技巧
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服