link here http://www.actionscript.org/forums/showthread.php3?p=834470 seems to suggest that in addition to pixel width, I can specify percent value (similar to how I do it in html flash wrapper). But I can't get it to work. Is it really supported?
[SWF(widthPercent="100", heightPercent="100")] Background: The reason I need it is to force a nested swf's size to match its parent container (loader?) width/height, so that the preloader is shown centered with respect to the parent application. Right now, while loading, the nested swf seems to be at a size of 500x325 (not sure where that value came from). And it is not center aligned wrt the parent. And I end up with a preloader that is off center. Any suggestions?