Forum Moderators: open

Message Too Old, No Replies

flash pinches dimensions on export

         

Tym99

9:02 pm on Sep 29, 2005 (gmt 0)

10+ Year Member



I have an animation that is 127 x 100 that is part of a banner. It is comprised of jpeg files that fade in and out. The images came directly from the banner itself so I know the sizes are correct. And the size IS correct until I export it. Then it seems to squash the movie by one pixel somewhere. The top border doesn't line up correctly but the bottom one does. I've tried all kinds of different export methods to not using any compression to leaving jpeg quality at maximum to no avail. It still seems to be one pixel short.

Anyone have any ideas?

diddlydazz

11:55 pm on Oct 1, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



i would like to know too

flash MX seems to mess with the size on export.

i just add one to the width and one to the height in the objects HTML to correct it.

im sure there are some flash experts around here ;o)

dazz

Richard_N

7:41 am on Oct 2, 2005 (gmt 0)



Flash player 6 and below moves bitmaps 1 pixel down and to the right, flash player 7 does not, its a well know bug.

Basically you need some actionscript to laod the image in with loadMovie() and then force flash to resize the clip slightly, however this has to be done after the movie is loaded. Resize to 99.9%

Tym99

5:22 pm on Oct 6, 2005 (gmt 0)

10+ Year Member



I'm still fairly new to flash and haven't even begun to delve into action script yet. How would I go about doing this?

Richard_N

7:49 pm on Oct 6, 2005 (gmt 0)



to be honest its a reasonably complex topic to explain if you have no AS knowledge, probably easier just to live with it for now

Tym99

10:07 pm on Oct 6, 2005 (gmt 0)

10+ Year Member



Gotcha. Thanks. I just ordered a book on it off Amazon. Hopefully, it's about as easy to pick up as JavaScript.