<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I was able to get my scripts working loading from either X3D XML -> Cobweb or X3D XML -> JSON -> Cobweb by inlining them. My scripts don’t use ProtoInterface, so the lack of that didn’t cause an issue. So the good news is, we have Prototypes and Scripts partially working with X3D JSON and the X3D JSON loader, albeit via XML for now until we can get native tool support. We do need ProtoInterfaces for a complete tool, but I’m hoping that will come without many more additional changes to my X3D JSON Loader (Don, can you change X3dToJson.xslt to output ProtoInterface keys? If you like I can be an alias for field Thank you.)<div class=""><br class=""></div><div class="">I had one more question for Holger. What about VRMLScripts which are external to the X3D or WRL file? Thanks!</div><div class=""><br class=""></div><div class="">I will upload working loader to github and my website with examples.</div><div class=""><br class=""></div><div class="">John<br class=""><div><blockquote type="cite" class=""><div class="">On Dec 4, 2015, at 4:19 PM, John Carlson <<a href="mailto:yottzumm@gmail.com" class="">yottzumm@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I send this email from the wrong address. Resending.<div class=""><br class=""></div><div class="">Also, I was able to convert the .wrl file to .x3d using the instant reality online converter and was able to view the result file in instant player on the mac. I will try to see if I can get instant player’s and cobweb’s x3d files to load in cobweb on my loader page. More research!</div><div class=""><br class=""></div><div class="">John<br class=""><div class=""><blockquote type="cite" class=""><div class="">Begin forwarded message:</div><br class="Apple-interchange-newline"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif;" class=""><b class="">From: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">John Carlson <<a href="mailto:john.carlson3@sbcglobal.net" class="">john.carlson3@sbcglobal.net</a>><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif;" class=""><b class="">Date: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">December 4, 2015 at 3:52:54 PM CST<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif;" class=""><b class="">To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">X3D Graphics public mailing list <<a href="mailto:x3d-public@web3d.org" class="">x3d-public@web3d.org</a>><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif;" class=""><b class="">Subject: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><b class="">Holger: trying to understand how to create valid X3D scripts that run in Cobweb</b><br class=""></span></div><br class=""><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">In an attempt to understand why my scripts weren’t working in Cobweb, I went digging into Cobweb’s examples at:<div class=""><br class=""></div><div class=""><a href="https://github.com/create3000/Library/tree/master/Examples/VRMLBanner" class="">https://github.com/create3000/Library/tree/master/Examples/VRMLBanner</a></div><div class=""><br class=""></div><div class="">I opened the .wrl file in InstantPlayer, it worked fine. I tried to open the .x3d file in InstantPlayer, all kinds of errors. Does Cobweb run scripts in .x3d files or are they not supported and only scripts in .wrl files are supported? I didn’t see any kind of inclusion between the vrml banner.wrl and the vrml banner.x3d, so I assumed that they were equivalent converted examples. I will try my own conversion. I will also try to convert my scripts to .wrl and see if they run in cobweb. I didn’t see any problems with X3D XML scripts when checking for the to vrml conversion.</div><div class=""><br class=""></div><div class="">What is the general level of support for VRMLScripting in XML? Not having looked at many scripts inside prototypes, I was suddenly surprised by all the connect statements. WOW! Frankly, I am surprised my scripts work at all.</div><div class=""><br class=""></div><div class="">More research to do,</div><div class=""><br class=""></div><div class="">John</div></div></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></body></html>