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
> > >
> >
>
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
0 comments:
Post a Comment