views:

74

answers:

1

I have an actionscript, which makes a dynamic image wall. It gets parameters from FlashVar and changes the width and height dynamically.

When I use

[SWF(width="584",height="290")]

It's fully centered, but when I remove it, it's appear ~+50px from left. How can I set dynamically the SWF metadata or what I need to set for the correct view?

Top of the picture with SWF tag and the bottom is without SWF tag. alt text

+2  A: 

You might want to try:

stage.scaleMode = "noScale";
stage.align = "TL";
Quasimondo
Thank you! It solved!
Roland Soós