#VRML V2.0 utf8 WorldInfo { title "Spazz3D" info [ "This VRML World was created with Spazz3D, a VRML 97 authoring tool" "www.spazz3d.com" ] } DEF dad_GROUND Transform { children [ DEF GROUND Group { children [ DEF dad_Box1 Transform { translation 0.0 0.0 0.0 children [ DEF Box1 Shape { appearance Appearance { ### I added DEF MP3 and changed ImageTexture to MovieTexture ### I put in the MP3 name where the JPG name was. ### I also added loop TRUE, startTime -1, and stopTime 0 texture DEF MP3 MovieTexture { url "itspider.mp3" loop TRUE startTime -1 stopTime 0 } material DEF Red_mat Material { ambientIntensity 0.200 shininess 0.200 diffuseColor 1.0 0.0 0.0 emissiveColor 0.0 0.0 0.0 specularColor 0.0 0.0 0.0 } } geometry Box { size 1.0 1.0 1.0 } } ] } ### WAV sound was here; I deleted it. DEF Sensor1 TouchSensor { } ] } ] } DEF Script_Sound1 Script { field SFNode snd USE MP3 //### last word was AClip_Sound1, I changed it to MP3 which I used in the texture DEF above. field SFBool state FALSE field SFTime pause 0 eventIn SFTime startAt0 directOutput TRUE url "vrmlscript: function startAt0( stime ) { state = TRUE; snd.set_startTime = stime; snd.set_stopTime = 0; } " } ROUTE Sensor1.touchTime TO Script_Sound1.startAt0