
Sorry, I can not try anything on BS because I am running IE 8 and BS does not support it.
So guys : don't you ever install IE 8 if you want to use BS !!!!
Anyway : I don't want to uninstall IE 8 because I need to know how far the stuff I am doing is working properly under IE 8.
I can't see anything wrong on your code :
I don't think that BS did drop anything usefull from Blaxx's ecmascript interpreter, so Math.random() should not be a problem for it.
BS did probably drop some old Blaxx bug ...
Maybe, BS does not allow to construct a new MFNode by using createVrmlFromString().
So, just try out this :
newNode=new MFNode();
newNode=Browser.createVrmlFromString(string);
ROOT.children[i]=newNode[0];
Also try a short version :
ROOT.children[ROOT.children.length]=Browser.createVrmlFromString(string);
This assuming that you can add an MFNode to the children of an MFNode.
Otherwise try :
ROOT.children=Browser.createVrmlFromString(string);
May be it works, lol.
TC
Peter
_________________
everybody is a stranger almost everywhere