Funny revbrowser behaviour

Bringing the internet highway into your project? Building FTP, HTTP, email, chat or other client solutions?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Andycal
Posts: 144
Joined: Mon Apr 10, 2006 3:04 pm

Funny revbrowser behaviour

Post by Andycal » Thu Apr 23, 2009 9:23 pm

Sorry if this is a vague question, but i've got some funny behaviour in Revbrowser that's got me confused.

I'm using code pretty much lifted from the demo stack. I pop a browser on the page and add a button that pops google into it. Easy enough, works fine.

Right, now it gets funny. I alter the code to go to a different page, press my button again and it loads the new page, however, if I click on it, Google is still underneath and the image seems to be a mixture of the two.

Should I be clearing something out before opening the new page?

HankT
Posts: 17
Joined: Mon Oct 27, 2008 7:24 pm

Re: Funny revbrowser behaviour

Post by HankT » Fri Apr 24, 2009 6:15 am

Andycal wrote: Google is still underneath and the image seems to be a mixture of the two.

Should I be clearing something out before opening the new page?
Your code likely has "BrowserNewInstance" in it which will create a new browser object each time it's run.

Andycal
Posts: 144
Joined: Mon Apr 10, 2006 3:04 pm

Post by Andycal » Fri Apr 24, 2009 6:44 am

Yup - turns out I wasn't closing it properly. Thanks for the pointer!

Post Reply