Hi, Can you please post complete code or testable code?
I don't see any reason that you should get this error. Which version of Flex you are using? -abdul -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Anderson Sent: Tuesday, May 24, 2005 8:43 AM To: [email protected] Subject: [flexcoders] Problems using percentage in Width property for container... I am terribly confused, especially since FlexBuilder 1.5 docs go out their way, to say that the old widthFlex and heightFlex properties are deprecated. According to the docs, I just use Width and Height - and stick the percentage number in there. I am getting errors during compilation, and this is a Macromedia tutorial - which is kind of surprising. According to the Docs it says: "This property has been deprecated. For flexible widths, please set width to a percentage value." But when I try doing this, using this particular code: <mx:ViewStack id="vStack" width="80%" height="100%"></mx:ViewStack> I get "Failed to parse number: 80%" and "Failed to parse number: 100%" when the application compiles. Any ideas what I am doing wrong? Thanks, Mike Yahoo! Groups Links Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

