GRiMe2D / facebook-actionscript-api

Automatically exported from code.google.com/p/facebook-actionscript-api
0 stars 0 forks source link

webView's viewPort should be initialized, othervise it size (0, 0) and its not visible #381

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. AIR3, Android target
2. Use sample code to login 
3. webView is on stage and receives all responses (but nothing is on screen)

What is the expected output? What do you see instead?
Login screen appear's

What version of the product are you using? On what operating system?
1.8.1

Please provide any additional information below.

Fix: add view port initialization in createWebView, FacebookMobile.as

protected function createWebView():StageWebView {
..... 
    this.webView.viewPort  = new Rectangle(0, 0, this.stageRef.stageWidth, this.stageRef.stageHeight);
    return webView;
}

Original issue reported on code.google.com by ihor.mys...@gmail.com on 21 Nov 2011 at 1:12