Quantcast
Channel: Adobe Community : Popular Discussions - AIR Development
Viewing all articles
Browse latest Browse all 24121

Changing parameters of StageWebView after it has been defined. [HELP]

$
0
0

How can I change the x and y paramaters of a stageWebView once it has been defined ?

 

 

var socialWebView:StageWebView;

 

socialWebView = new StageWebView();

 

var path = "http://www.google.ca" as String;

socialWebView.stage = this.stage;

socialWebView.viewPort = new Rectangle(0, 42, 1024, 728);

socialWebView.loadURL(path);

 

 

 

 

How come this wont work (  socialWebView.x = 10 )   ????

 

 

Any help is appreciated


Viewing all articles
Browse latest Browse all 24121

Trending Articles