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

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 - SDK

Subject: CreateVRMLFromString
Sender: zappy1130@yahoo.com 29.05.07 08:14

Hi there,

I'm facing problem while creating vrml from string using javascript. Hope you can help.

My code looks like this :-

var url = 'round_table.wrl';
Browser.createVrmlFromString('Transform{\n' +'children[\n'+'Inline{ url '+ url +'}'+']}');

However, it returned as error saying that quoted line expected. My question is how to put quoted mark in the script so I can get something like this (with the quoted line):-

Transform {
children [
Inline {
url "round_table.wrl"
}
]
}

Thanks.

 


CreateVRMLFromString / zappy1130@yahoo.com / 29.05.07 08:14
     Re: CreateVRMLFromString / Uh / 29.05.07 10:16

Messages in thread: 2


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