Forum Moderators: open

Message Too Old, No Replies

Getting a shape to go border to border

resizing

         

sandiego

3:03 am on Sep 15, 2005 (gmt 0)

10+ Year Member



Does anybody know how I get a shape (say a rectangle) that is a different color than my background, to stretch across the screen as opposed to stopping when it reaches my background dimensions? When I test the swf, it looks great; when I upload it, it doesn't reach the sides of the screen.

Richard_N

4:58 pm on Sep 15, 2005 (gmt 0)



you need to set up a listener in actionscript to get the screen dimensions and then resize accordingly. Its a fair bit of code so not going to do it here, look at the actionscript ref on macromedia site.

sandiego

11:13 pm on Sep 15, 2005 (gmt 0)

10+ Year Member



Thanks, Richard. I followed your suggestion and believe I'm on the right path.