Basic HTML version of Foils prepared March 18 1998

Foil 14 Producing Output Event in Script Node with ECMAScript

From Scripting and EAI in VRML97 CPS616 -- Information Track of CPS -- Spring Semester 98. by Hasan Ozdemir (Geoffrey C. Fox)


Whenever the value of the corresponding variable changes, an output event will be produced.
Script {
  • eventOut SFBool position_changed
  • url "javascript:
    • function eventsProcessed()
    • {
    • position_changed = true;
    • } "
}



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Apr 5 1998