PDA

View Full Version : Graceful sizing problem I'm having


maxx
10-16-2005, 07:09 PM
Hello all - been unfortunately detained from doing anything in Flash that Bobo the trained chimp can't do, so it's been a while since I've posted here. But, now I'm trying something a little different.

As an exercise and a way to knock some of the rust off my AS skills, I'm trying to create a custom set of components that mimics the actions of a piece of software that I'm simulating. Basically, select a form control and it's header turns red, the header text turns white. Select another form control and everything on the previous control goes back to normal. I've got all that working just fine. (It's not a component yet, but I'll figure that out as I go...)

So, my question is this - how are the UI Components shipped with MX 2004 Pro able to resize correctly? Like the borders always stay 1 pixel thick, regardless the actual width set. And in the combo box, the doo-hickie drop down trigger always remains the same width. It's probably something very simple, but I'm lost.

Thanks to all who read and especially anyone that answers (even a "hey idiot! look at this web site.... it's all spelled out!" will be just fine).