Copy link to clipboard
Copied
Is it possible to dress up a StageWebView window with borders etc?
As it is, I just get this raw picture on the app screen. Could use a border...
thanks
RC
Copy link to clipboard
Copied
StageWebView is not a DisplayObject and you cannot draw anything onto it. However you can for example place a Shape underneath to create a border effect.
Copy link to clipboard
Copied
Hi, Thanks.
That sounds interesting - but I'm struggling to work out just how to do that. In my app anyway,
I have the startup stage - well the only one actually.With an image scene on it.
Opening a stagewebview in say 300 x 330 pretty much covers what's there (iPhone 320x480) and it masks everything under it.
I am putting buttons on the stage below the stagewebview window - but can't see how I'd put an image over the top - or "underneath" that stagewebview.
I'm programming this app in Adobe Flash Pro CS5.5 for the IOS/iPhone
Copy link to clipboard
Copied
It's quite simple - if you add, say, a Shape of 300 x 330px, then add a StageWebView of 298 x 228px at (1, 1) you'll get an 1px "border" around the StageWebView
--
Kenneth Kawamoto
Copy link to clipboard
Copied
I see that, however, it still leaves you with a plain square cornered stage because the stage is sitting ontop of the image.
What I would like is the image ontop of the stagewebview ... which is probably impossible
But thanks for the idea, because that is quite useful as well.
Copy link to clipboard
Copied
> it still leaves you with a plain square cornered stage
Not necessary - you can dress up this graphic underneath anyway you like
> What I would like is the image ontop of the stagewebview ... which is probably impossible
You are right, StageWebView will always come on top of everything on the stage.
--
Kenneth Kawamoto