StageWebViewBridge in Flash Builder AS3 Mobile Project - stage not associated
Opened this issue · 1 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
1. this.webView = new StageWebViewBridge(0,0, this.stage.stageWidth,
this.stage.stageHeight);
2. After added to stage and page loaded, want to add it to the stage
3. this.webView.stage = this.stage; // Compiler error: Read-only property
What is the expected output? What do you see instead?
The webview must be visible but because it is not possible to set proper stage,
no webview is shown.
What version of the product are you using? On what operating system?
- Flash Builder version 4.6
- Latest source code of StageWebViewBridge.as (downloaded from google code)
- Windows XP
Please provide any additional information below.
Added to StageWebViewBridge.as the following code:
// Begin: Added EH 14-05-2012
public override function get stage() : Stage
{
return this._view.stage;
}
public function set stage(value : Stage) : void
{
this._view.stage = value;
}
// End: Added EH 14-05-2012
Result:
The webView is now visible
Original issue reported on code.google.com by streambu...@gmail.com
on 14 May 2012 at 2:59
Attachments:
GoogleCodeExporter commented
Thank you!!
Original comment by babyfun...@gmail.com
on 6 Nov 2012 at 5:37