Skip navigation
Currently Being Moderated

Can I dress up a StageWebView window? borders etc

Sep 5, 2011 4:30 PM

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

 
Replies
  • Currently Being Moderated
    Sep 6, 2011 5:10 AM   in reply 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.

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 19, 2011 7:36 AM   in reply 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

    http://www.materiaprima.co.uk/

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 20, 2011 2:28 AM   in reply 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

    http://www.materiaprima.co.uk/

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points