It¹s always a good idea to do a quick null check + init before you start
touching BrowserManager...
if ( BrowserManager.getInstance().url == null )
BrowserManager.getInstance().init();
Are you following this pattern and still having the errors?
Rick Winscot
On 11/12/08 1:29 PM, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
>
>
> I am trying to use Alistair Rutherfords IFrame component in a Flex 3 app and
> have a a couple issues (one with fix).
>
> First, unless I enable history management in the wrapper, the IFrame component
> throws an error because BrowserManger.getInstance().url is null. Is this to
> be expected, that BrowserManager requires history enabled? I really do NOT
> want history management, but I see that History IS enabled on all of the
> Iframe examples. I think can solve this by modifying Iframe, but want to
> verify my observations first.
>
> Second, if I enable history, then the Iframe component works, but in IE 6, I
> get a script error from the history.js script at the line that calls
> ³getHistoryFrame()², because that returns null (return
> document.getElementById('ie_historyFrame');) For some reason the ie_history
> frame is not getting created. Firefox is ok.
>
> FIX FOR SCRIPT ERROR FOUND! There is a line in history.js that is commented
> out: iframe.src = historyFrameSourcePrefix; Uncommenting it fixes the problem.
> This appears to be an issue with IE6.
>
> Tracy
>
>