Content falls off stage

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
sabir
Posts: 3
Joined: Mon Dec 29, 2008 8:46 am

Content falls off stage

Post 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.
User avatar
slowtiger
Posts: 6256
Joined: Thu Feb 16, 2006 6:53 pm
Location: Berlin, Germany
Contact:

Post 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
sabir
Posts: 3
Joined: Mon Dec 29, 2008 8:46 am

its for a presentation

Post 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
User avatar
slowtiger
Posts: 6256
Joined: Thu Feb 16, 2006 6:53 pm
Location: Berlin, Germany
Contact:

Post 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).
sabir
Posts: 3
Joined: Mon Dec 29, 2008 8:46 am

ha ha haaa... how could i miss that !!!

Post by sabir »

thanks tiger.. you rock

i am really dumb not to check out the help files before ;)
Post Reply