| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Allow me to judge
Join Date: Feb 2007
Location: UK
Posts: 936
|
Hide outside of stage area
I have a Flash file which contain lots of mini movies on the stage (i.e each mini movie that has it's own fresh timeline and only take up 1 cell of the timeline on the main stage... if this makes sense) Anyway... the file size is 1024 x 780. It will be played on a 42in plasma. When I test the movie on the plasma I have to select view>full screen to make the movie fill the screen. However on the left and right hand side of the movie, flash player and Quicktime shows about 2in of area which is outside of the work area. It shows areas which is on my pasteboard but off the main stage. Is there anyway I can make it show only the stage when viewed at full screen? Help! |
|
|
|
|
|
#4 (permalink) |
|
Registered User
Join Date: Jul 2009
Posts: 2
|
I work in AS3 so not sure if this is applicable, but you should be able to just mask the stage like any other display object. var mask:Sprite = new Sprite(); mask.graphics.beginFill(0x000000); mask.drawRect(0,0,1024, 780); mask.endFill(); addChild(mask); stage.mask = mask; If you can't set a mask to the stage(never tried it), you could just add everything to a containing sprite and mask that. |
|
![]() |
|