For Flex 2.0, that would be: percentHeight = 100; percentWidth = 100;
In 1.5 I believe you could, for example, set height="100%" instead of using heightFlex. --- In [email protected], "moni_singhal" <[EMAIL PROTECTED]> wrote: > > Hi Folks, > I m migrating my application from flex1.5 to flex20. > In Felx1.5 my code was like this: > > public function DTabNavigator(Void) { > this.addEventListener( > "childCreated", > Delegate.create(this, handleChildCreated)); > _showChild = Delegate.create(this, > handleWantsToBeShown); > heightFlex = 1; > widthFlex = 1; > } > > But as the properties widthFlex and heightFlex for the resizing of > component are deprecated. > So wat shud i use instead of these properties? > If anyone have any idea abou this,plz tell me. > > Thanks, > Monika > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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/

