Page 1 of 1
Content falls off stage
Posted: Mon Dec 29, 2008 9:00 am
by sabir
i am a completely new to AS, so dont mind if it sounds silly
i have set the stage dimensions, and, objects come across the stage from bottom and move out from the top. but when i render SWF, i can still see the objects off stage. how do i show only objects on the stage in my final output.. please help
thanks.
Posted: Mon Dec 29, 2008 10:28 am
by slowtiger
I assume that you are watching the SWF files in your browser window. The browser can't read any information about the dimension of your film out of the file correctly, so it shows just about everything it finds in the fiel and fills the browser window with that. If you want to strictly show only what's inside the project window you need to embed the SWF file in a HTML page and give the dimensions there.
An example for the code snippet you need can be found here:
http://www.w3schools.com/flash/flash_inhtml.asp
its for a presentation
Posted: Mon Dec 29, 2008 11:00 am
by sabir
thanks tiger !
actually its an intro for a full screen presentation and my stage is 1152 x 480 pixels. i want to display content within this area. i want to mask in AS not in flash
it works well in flash .. i export swf from AS to flash. in flash i create a mask.. but how to mask the stage in AS any clue
Posted: Mon Dec 29, 2008 11:06 am
by slowtiger
You don't "mask" the stage normally, since there's a "visibility area" defined in the file - but only used as an indicator for placing the content when you import SWF into Flash.
And: the AS method of masking doesn't export into SWF (as well as gradients and brushes and some otehr stuff, see the appendix of the manual).
ha ha haaa... how could i miss that !!!
Posted: Mon Dec 29, 2008 11:16 am
by sabir
thanks tiger.. you rock
i am really dumb not to check out the help files before
