Did it in AS coz i'm trying to do a complexish Sequence Might get ride of some of that now and use effect tags instead.
Thanks for the tip, it worked. --- In flexcoders@yahoogroups.com, Matt Chotin <[EMAIL PROTECTED]> wrote: > Could you just assign a resizeEffect on the VBox instead of writing it in > AS? > > > > <mx:Effect> > > <mx:Resize name="vbxResize" duration="750" /> > > </mx:Effect> > > > > <mx:VBox resizeEffect="vbxResize" /> > > > > Something like that. > > > > _____ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of pk_wasp > Sent: Monday, May 09, 2005 7:43 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Resize Effect and undefined Heights > > > > Hi > > Wonder if any1 knows how to do this (tried using the search, but > couldn't find anything) > > I Have a VBox container that is initally 0, and has x no of child > containers/controls that could be added dynamically. > > When I click a button I want to play a resize effect to expand it to > show the whole container but when I try the "undefined" trick...it > doesn't work: > > var e = new mx.effects.Resize( vbxDetails ); > e.heightFrom = 0; > e.heightTo = undefined; > e.duration=750; > > Any1 able to help? > > vbxDetails.height = undefined (this works i think, but I want to > play a nice Flex effect :) ) > > thanks. > > > > > > _____ > > Yahoo! Groups Links > > * To visit your group on the web, go to: > http://groups.yahoo.com/group/flexcoders/ > <http://groups.yahoo.com/group/flexcoders/> > > * To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED] subject=Unsubscribe> > > * Your use of Yahoo! Groups is subject to the Yahoo! > <http://docs.yahoo.com/info/terms/> Terms of Service. 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/