This content has been marked as final. Show 3 replies
Maybe you can try to set the width& height of the highest level container to the desired value. For example if Sprite is your highest level container (all other controls are children of it), then setting Sprite's width and height to 300x200 will get the desired effect.
You can do this by using the default-size compiler flag. If you're using Flex Builder... go to Project > Properties > Flex Compiler and add "-default-size 300 200" (without the quotes) in the text box labeled "Additional compiler arguments". If you're using the compiler from the command line simply add the flag or if you're using a config file add...
Hope that helps.
Another way to do it is to put the [SWF] metadata tag immediately above your
main application class:
public class MyApp extends Sprite
Developer, Flex Builder team