StageWebView does not move when window is moved
Using Flash Builder 4.7, air version 20.0
I moved from HTMLLoader to StageWebView to get better HTML rendering.
webView is created as follows on creationComplete. The window has no chrome.
webView = new StageWebView(true);
stage.align = StageAlign.TOP_LEFT;
stage.scaleMode = StageScaleMode.NO_SCALE;
webView.stage = this.stage;
webView.viewPort = new Rectangle( nativeWindow.x,nativeWindow.y+25,nativeWindow.width,nativeWindow.height-25 );
webView.loadURL( "http://www.google.com" );
webView.addEventListener(Event.COMPLETE,loadComplete);
webView.addEventListener(Event.LOCATION_CHANGE, locationChange);
webView.addEventListener(ErrorEvent.ERROR,onError);
webView comes up fine and displays, but when I move the window (using nativeWindow.startMove() because there is no chrome), the StageWebView doesn't move when the window is moved. I can grab it through the mouse event listeners and manually make it follow, but display is choppy so this isn't a solution.
I have seen the trick to create a bitmap so a menu, for example, can come down over the stagewebview, but I don't want to go down that route until all other avenues are exhausted. I think it would be very resource intensive to re-render the bitmap every time the mouse moves outside the stageview.
any help would be very much appreciated.
thanks.
fritz
