View Full Version : What's the syntax for the size of the entire movie?
Mr. Twinkles
September 18th, 2002, 03:19 PM
I want to move an movie clip according to the size of the entire flash movie, rather than just the movie clip. Anyone know the correct way to do this?
flex
September 18th, 2002, 06:16 PM
Can you be more specific.
Bezzer
September 18th, 2002, 07:35 PM
hrmmm well.
You want to know the size of the main stage so that you can know when the movie clip goes off that stage or something like that? there probably is an thing th get the x size and y size of the stage...i usualy just use numbers... like 550 for width and 400 for height. unless you are changing the size of the stage...it doesn't really matter :)
Mr. Twinkles
September 18th, 2002, 11:52 PM
yeah, that's the way i'm doing it now, but i just wanted to know so i can use a relative instead of absolute, just in case some parameters of the movie change during development. thanks for your help, but if you ever find a way to do this let me know.
sbeener
September 19th, 2002, 02:36 AM
in mx:
Stage.width
pom
September 19th, 2002, 02:37 AM
With MX, you can get the scene dimensions with Stage.width and Stage.height. And I believe that you could use getBounds to get them with Flash 5. I'll check that.
pom :asian:
pom
September 19th, 2002, 02:38 AM
No fast enough... :(
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.