If you use %, the size gets set to 500x375 and %'s get pushed into the html template. I'd just set usePreloader=false and show your own mx:ProgressBar.
Alex Harui Flex SDK Developer Adobe Systems Inc.<http://www.adobe.com/> Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Dave Kong Sent: Friday, February 13, 2009 5:46 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Does the [SWF] meta tag really support widthPercect and heightPercent attribute? 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?