[flexcoders] Re: How to scale down StageWebView?

Tuesday, December 20, 2011

 

how to create a new component with stageWebView features and scaleX and ScaleY features.Thanks

Mark

--- In flexcoders@yahoogroups.com, "Chuck Preston" <itsmechuckjr@...> wrote:
>
> 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
> > >
> >
>

__._,_.___
Recent Activity:
MARKETPLACE

Stay on top of your group activity without leaving the page you're on - Get the Yahoo! Toolbar now.

.

__,_._,___

0 comments:

Post a Comment