How can a Shockwave movie pass information to...

来源:百度文库 编辑:神马文学网 时间:2024/05/23 13:06:31
AccessibilityAdobe
Your Cart
Welcome, Guest
Your Account
Sign Out
Contact
United States (Change)
Solutions Industries
Education
Financial Services
Government
Manufacturing
Telecommunications
Solutions
Digital Imaging
Mobile
Print Publishing
Process Management Services
Rich Internet Applications
Training and eLearning
Video and Audio
Web Conferencing
Web Publishing
All Industries & Solutions ›
ProductsAcrobat Connect
Acrobat Family
After Effects
Breeze
ColdFusion
Creative Suite Family
Dreamweaver
Flash
Flex
Illustrator
InDesign
LiveCycle
Mobile Products
Photoshop Family
Premiere
All Products ›
SupportSupport Home
Customer Service
Books
Training
Support Programs
Forums
Documentation
Updates
More ›
Communities By User
Designers
Developers
Educators
Partners
By Resource
Adobe Labs
Forums
Exchange
Blogs
CompanyAbout Adobe
Press
Investor Relations
Corporate Affairs
Jobs
Showcase
Events
Contact Adobe
Become an Affiliate
More ›
DownloadsDownloads Home
Trial Downloads
Updates
Exchange
Get Adobe Reader
Get Flash Player
More ›
StoreStore Home
Software
Fonts
Books
Support
Your Account
Volume Licensing
Other Ways to Buy ›
Search
Home /
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. SeeExample 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 toIs 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

Take a quick survey
Thanks for your feedback
Thank you for your feedback! We are not able to respond to individual comments, but we value all feedback.
If this TechNote did not meet your needs, please tryGuided Search or ourOnline Forums for more options
Take a quick survey
Company
Online Privacy Policy
Terms of Use
Contact Us
Accessibility
Report Piracy
Permissions & Trademarks
Product License Agreements
Send Feedback

Copyright © 2007 Adobe Systems Incorporated.All rights reserved.
Use of this website signifies your agreement to theTerms of Use andOnline Privacy Policy (updated 03-30-2007).
Search powered by