This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > VRML > May 2004 > passing vrml event change data into html





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author passing vrml event change data into html
paul watson

2004-05-14, 12:16 am

Hi,

I would like to pass vrml field data when a change occurs into a html
routine using the Advise method & cortona client viewer. The other pause()
and play() work fine but the monitorTextAuto() brings up an unspecified
error in my web browser !
Can anyone help ?

<script language=VBScript>

Sub monitorTextAuto()
WINDOW.PARENT.vrmodel.Scene.Engine.Nodes
("editorAction").Fields("StepMessage").Advise(updateText)
End Sub

Sub pause()

WINDOW.PARENT.vrmodel.Scene.Engine.Nodes("editorAction").Fields("pauseFuncti
on") = TRUE
End Sub

Sub play()
WINDOW.PARENT.vrmodel.Scene.Engine.Nodes("editorAction").Fields("playFunctio
n") = TRUE
End Sub

</script>


messanger

2004-05-14, 12:16 am

"paul watson" <p.watson@ncl.ac.uk> wrote in message news:<c7qult$4sc$1@ucsnew1.ncl.ac.uk>...
> Hi,
>
> I would like to pass vrml field data when a change occurs into a html
> routine using the Advise method & cortona client viewer. The other pause()
> and play() work fine but the monitorTextAuto() brings up an unspecified
> error in my web browser !
> Can anyone help ?
>
> <script language=VBScript>
>
> Sub monitorTextAuto()
> WINDOW.PARENT.vrmodel.Scene.Engine.Nodes
> ("editorAction").Fields("StepMessage").Advise(updateText)
> End Sub
>
> Sub pause()
>
> WINDOW.PARENT.vrmodel.Scene.Engine.Nodes("editorAction").Fields("pauseFuncti
> on") = TRUE
> End Sub
>
> Sub play()
> WINDOW.PARENT.vrmodel.Scene.Engine.Nodes("editorAction").Fields("playFunctio
> n") = TRUE
> End Sub
>
> </script>


visit http://leesunho.pe.kr/cortona_extension.html
there are example using cortona extension.

www.leesunho.pe.kr
www.3dwork.co.kr
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews