PDA

View Full Version : Crop flash movie from top ???


vegeman
12-18-2008, 07:40 PM
I'm trying to crop my flash movie from the top. I'd like to crop it by 20 pixels or so. I heard there was a way to do this using the &quot;SALIGN&quot; parameter and alignment tags but I don't know to code it. Can someone revise my code (below) to include the proper parameters and tags? Thanks. </div>

Ricky55
12-18-2008, 09:25 PM
sounds like a bodge job to me, can't you just export again from Flash at the correct size?

You could do it like this but I wouldn't unless I really had do choice

CSS

#wrap {
width: 400px;
height: 300px;
position: relative;
}

#flash {
width: 400px;
height: 200px;
overflow: hidden;
position: absolute;
left: 0;
bottom: 0;
}


Here wrap the flash content in two Divs and use the over flow hidden property to hide the contents. Here we are loosing 100px.