ParallelGraphics Forums
General
You are here: [Forums]::[General]

Registration 
Registration
Forgot your password?

Help 
Help
Support

Quick search 

Subscribe to newsletters 

Install Cortona VRML Client for FREE!
Outline 3D
Try RobinZone!
email:  password:
  General

Subject: Re: Reading Text-Files
Sender: nalex@parallelgraphics.com 27.07.07 05:49
Thanks for the fast answer! I've tried it this way, but it doesn't work. What is wrong??

Browser.createVrmlFromURL() works asyncronously.
#---- Main -------
DEF SCR Script
{
field SFNode me USE SCR
field MFString file "settings.wrl"
eventIn MFNode loadComplete
url "javascript:
function initialize()
{
Browser.createVrmlFromURL(file, me, 'loadComplete');
}
function loadComplete(nodes)
{
var settings = nodes[0];
trace(settings.values);
}"
}
#-----------------

 


Reading Text-Files / Waldi / 26.07.07 07:30
     Re: Reading Text-Files / nalex@parallelgraphics.com / 26.07.07 07:46
         Re: Reading Text-Files / denizfb81@hotmail.com / 4.10.07 12:49
         Re: Reading Text-Files / Waldi / 27.07.07 04:04
             Re: Reading Text-Files / nalex@parallelgraphics.com / 27.07.07 05:49
                 Re: Reading Text-Files / Waldi / 27.07.07 07:08

Messages in thread: 6


© 1998-2007 ParallelGraphics. All rights reserved. Terms of use.