views:

113

answers:

1

Hi everyone, I am using Adobe AIR's html control in my desktop application to let users see web pages. I am using the html.historyBack() and html.historyNext() methods to allow moving back and forth. But I want to clear the history once a specific option is selected, say a click on a button, without restarting the application. I tested both versions of AIR, 1.5.2 and AIR 2.0 Beta but unable to find any way to do so.

Is there any way to fix this problem?

Looking forward to hear from you,

Alex Fisherr

A: 

If all you want to do is set the enabled state of the back and forward buttons then have a start point int, which you can reset when needed. Then base the history.length on this.

robmcm