For a JavaScript program script, typically give the script in the Script node's url field DEF Bouncer Script { field SFFloat bounceHeight 3.0 eventIn SFFloat set_fraction eventOut SFVec3f value_changed url "javascript: . . ." or... url "vrmlscript: . . ." }
DEF Bouncer Script { field SFFloat bounceHeight 3.0 eventIn SFFloat set_fraction eventOut SFVec3f value_changed url "javascript: . . ." or... url "vrmlscript: . . ." }