Can anybody see what I'm doing wrong here?  I want to intercept a location
change on an HTML component, the LOCATION_CHANGING event never seems to
fire.

//These are custom versions of HTMLLoader and HTMLHost classes

[Bindable] public var l:BrowserLoader = new BrowserLoader();
[Bindable] public var h:BrowserHost = new BrowserHost();

//creationComplete handler

browser.htmlHost=h;
browser.htmlLoader=l;
l.addEventListener( LocationChangeEvent.LOCATION_CHANGE, onLocationChange );
l.addEventListener( LocationChangeEvent.LOCATION_CHANGING, onLocationChange
);

<mx:HTML id="browser" left="30" width="100%" height="100%" top="51" />

Thanks,
d.

Reply via email to