The only way I know is to destroy the current stageWebView object, and then 
create a new one with the scaled width and height. 

--- In flexcoders@yahoogroups.com, "markflex2007" <markflex2007@...> wrote:
>
> 
> I want to do 
> 
> webView.scaleX = 0.5;
> webView.scaleY = 0.5;
> 
> but StageWebView doesn't have scaleX/scaleY properties.
> 
> other way to do same thing?
> 
> Thanks
> 
> Mark
> 
> --- In flexcoders@yahoogroups.com, "markflex2007" <markflex2007@> wrote:
> >
> > any way to scale down with StageWebView
> > 
> > the current code like following
> > 
> > webView = new StageWebView();
> > webView.stage = this.stage;
> > webView.viewPort = new Rectangle( 0, 0, stage.stageWidth, 
> > stage.stageHeight);                               
> > webView.loadURL("http://www.google.com/";)   
> > 
> > but I can not use scaleX/scaleY for webView. I need the app can use in a 
> > small screen device so I need scale down webView.
> > 
> > Thanks a lot for your help
> > 
> > Mark
> >
>


Reply via email to