PDA

View Full Version : Hide top 30 pixels of Flash when publishing


wfz
03-02-2009, 09:48 PM
How can I publish a SWF by hiding the top 30 pixels of Flash screen?

I can move everything up but it's a lot of work and the top may be needed for a different purpose.

Thanks for the info.

cjx3711
03-03-2009, 02:04 AM
You could just put a white/black box on top that is 30 pixels tall?
Colour depends on your background colour

xxneon
03-03-2009, 04:52 AM
this might not be the best way .. but you can have your main timeline (and its contents) be repositioned..
in AS2 .. from the main timeline you can simply say this..
_y = -30;
and it appears it works fine with AS3 as well..
y = -30;
this exact code in your main timeline will move the whole flash movie to -30 .. or move it up 30 pixels.. since the default starting x,y position should always be 0,0..

kkbbcute
03-03-2009, 07:50 AM
Just change your stage size manually in Flash and move everything down using AS with the code xxneon gave.;)