Oh no, I have not tried that method yet - In Flash, there are too many ways to skin a cat sometimes, and you get accustom to using certain methods of doing things. I was aware of that method, but never used it before.
Using V2 Components, is using the setSize() Function, the preferred way to set the size?? And yes, once I got the Accordion to size properly, the plan was to implement code inside of each Child MovieClip - to resize themselves accordingly. Which does raise another question, in which I am sure you can answer: On which events should I listen for, in order to trigger the Resize Functions contained within each Child MovieClip (not to mention, WHERE should that code reside)? Since the Accordion Contents can change based on a multitude of variables, I really can't code my Resize Events for the Children, within my main Code Block residing in Root. I need each MovieClip Child, to contain their own logic - independent from the main app. I am using Class Files for each of my MovieClips - and it's in the Class File itself, where I want to listen for the Resize Events of the Accordion, so I can properly move things around inside the Accordion Children. Could you clarify all those things for me? Thanks Eric :) Mike -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eric dolecki Sent: Wednesday, April 12, 2006 2:43 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Accordion Sizing Weirdness in your onResize - have you tried setSize( w, h ) yet? also - I am using an accordion right now - some children contain listboxes, datagrids, etc. One cool thing I am doing is when the accordion is resizing, i am resizing the contents inside the children too - nice and tight. On 4/12/06, Mike Anderson <[EMAIL PROTECTED]> wrote: > > Hello All, > > I am confused about the Accordion Control, and how it's reacting to > Resize Events. > > For example, a MenuBar Component - also a V2 Control, when I issue a > Resize Event and give it new _width parameters, the control widens > appropriately without any Menu Items distorting. > > Controls widening or shrinking (and NOT scaling) is by design when > things are setup correctly. That's what xscale and yscale are > reserved for correct? > > So with that said, when writing an application that has Stage.align = > "TL" and Stage.scaleMode = "noScale", and I have code that moves (or > sizes) components based on browser size, what must I do to have the > Accordion reveal "more or less area", versus "scaling larger or > smaller"? > > This is not the behavior I expected from the Accordion - since it's a > Container, and a V2 Component. > > I understand I may need to have additional sizing code, within the > MovieClips that make up the Accordion Children, but this initial > behavior of scaling is something that should not be happening right? > > Could any of you shed more light on this problem? > > Thanks, > > Mike > > > > _______________________________________________ > [email protected] > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com http://training.figleaf.com > _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

