I use the plugin BitManagement's BS Contact in Internet Explorer to
view the X3d scene.And I add follow codes in my webpage:
*****************Code***********************
<embed SRC="main.x3d" TYPE="model/x3d+xml" id="objx3d" NAME="objx3d"
width="500" height="500">
**************************************
So, I can use function:
document.objx3d.setNodeEventIn(nodeName, fieldName, value);
to change the value of node in the x3d scene.
When the field type is SF, that fuction work well.But when I use it to
modify the MF's type value, It does not work well, this function just
set the first three values to the field.
Example,I want the change the MF field, data like this "0 1 0 0.6".I
use the function descrided above.I use
function:document.objx3d.getNodeEventOut(nodeName, fieldName), to
check whether the value have been setted.I found that this field's
value is "0 1 0". I lost the last digit.
I hope somebody can help me.
OS: winXP
Browser: IE 7
X3d plugin: BS Contact
regards,
dranyu