I am working on a fullscreen flash project. Can anyone tell me why this code acts like a loop rather than just happening once? I am trying to position an object at the bottom of the browser window no matter what the window size. I am using this code to set it right off the start. This all works and positions it at the bottom except when I resize the window the object moves around to repositions itself again, when I only want it to happen once. It is no in a onEnterFrame or setInterval and it is not in a onResize listener either. Can anyone tell me why this happens and how to get around it?

siteLogo._x = Stage.width / 2;
siteLogo._y = Stage.height - 70;

Cheers!





_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to