-
1. Re: Can I dress up a StageWebView window? borders etc
kennethkawamoto2 Sep 6, 2011 5:10 AM (in response to rachalmers)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.
-
2. Re: Can I dress up a StageWebView window? borders etc
rachalmers Sep 18, 2011 4:28 PM (in response to kennethkawamoto2)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
-
3. Re: Can I dress up a StageWebView window? borders etc
kennethkawamoto2 Sep 19, 2011 7:36 AM (in response to rachalmers)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
-
4. Re: Can I dress up a StageWebView window? borders etc
rachalmers Sep 19, 2011 5:44 PM (in response to kennethkawamoto2)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.
-
5. Re: Can I dress up a StageWebView window? borders etc
kennethkawamoto2 Sep 20, 2011 2:28 AM (in response to rachalmers)> 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