ParallelGraphics Forums
Cortona VRML Client
You are here: [Forums]::[Browsers]::[Cortona VRML Client]

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:
   Browsers - Cortona VRML Client

Subject: handle eventouts in HTML with cortona 5
Sender: steve@geostudio3d.co.uk 12.10.06 03:43

We are upgrading a project from SDK 4.1 to Cortona 5 & fireFox.

The following code does not now catch events of the EMBEDed browser . Is there an alternative method for this now ?

<script for="CortonaX" event="OnSceneLoaded(bSuccess)" language="javascript">
if (bSuccess){
CortonaX.Engine.AdviseEventOut ("mapper","mapPosition");
onSceneLoad();
}
else{
alert("Error loading scene");
}
</script>

<script for="CortonaX" event="OnEventOut(value, nodeName, eventOutName, timeStamp)" language="javascript">
if(nodeName=='mapper'){
if(eventOutName=='mapPosition')goScript(value.x,value.y);
}

 


handle eventouts in HTML with cortona 5 / steve@geostudio3d.co.uk / 12.10.06 03:43
     Re: handle eventouts in HTML with cortona 5 / degor aka Installation Guru / 26.10.06 11:44

Messages in thread: 2


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