eai: getBrowser / start-stop TimeSensor question 
Author Message
 eai: getBrowser / start-stop TimeSensor question

Hello

I have two eai - questions:

1. When I try to show two vrml-files in two frames - I can't always get the
instance of the browser

main.html:

<FRAME SRC="left.html" NAME="left" SCROLLING=NO NORESIZE>
<FRAME SRC="right.html" NAME="right" SCROLLING=NO>

left.html:

        <embed SRC="left.wrl" WIDTH="733" HEIGHT="483" ALIGN="BOTTOM"></h2>
        <td WIDTH="79%"><applet CODE ="myApplet.class" width=430 height=50 MAYSCRIPT>
                </applet></td>

right.html:

        <H2><EMBED SRC="right.wrl" WIDTH="200" HEIGHT="120"      ALIGN="BOTTOM"></H2>

in start () I'm trying to get the Browser
(tmp_browser = (Browser) Browser.getBrowser(this,"left",0);)

- it works if I only use the left frame - but when I use both - I sometimes get
the browser from the right frame (because: browser.getNode("name_in_left.wrl")
throws an exception).

Is there anything wrong in the html or with the getBrowser function?

2. I'm using a TimeSensor which is routed to a Position- and
OrientationInterpolator. With a java button I can start and stop the TimeSensor
- when I stop the TimeSensor and start it again - it should continue at the
last position and not starts at the beginning. Is it  possible to continue from
the last position ?

Thanks

Dieter



Fri, 02 Aug 2002 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. eai:getVBrowser / start-stop TimeSensor question

2. EAI: start TimeSensor from Java

3. EAI: getBrowser

4. EAI: getBrowser(Applet,frame,index)

5. eai getBrowser trouble

6. getBrowser problem (EAI)

7. EAI,Cosmo Player: getBrowser return NullPointerException!

8. getBrowser() problem in EAI

9. pb with EAI, getBrowser() doesn't work

10. ??? on EAI getBrowser()

11. Q: EAI getBrowser()

12. EAI getBrowser() AND ie

 

 
Powered by phpBB® Forum Software