On 3/14/06, Michael Schmalle [EMAIL PROTECTED] wrote:
Lets say we have Component and SubComponent(composite inside Component,
queued in Component.allChildrensList).
1) SubComponent uses getStyle(sizerThickness)
How do I get this to where you call Component.setStyle(sizerThickness) and
Hi Manish,
I understand what you wrote, I guess my question is more about the implementation of getStyle().
If you have a sub component that needs to access 'sizerThickness', and
it's a composited component that stands on it's own as a 'component',
should I declare that style on the Host
On 3/14/06, Michael Schmalle [EMAIL PROTECTED] wrote:
I understand what you wrote, I guess my question is more about the
implementation of getStyle().
If you have a sub component that needs to access 'sizerThickness', and it's
a composited component that stands on it's own as a
Manish, H
I feel like an idiot! I forgot the styleName pointer. OMG!
Your right, this is where I messed up. I guess I am doing tomany things at once.
I feel like a newbie right now man.
Thanks a lot.
PS Is it convention now that you put all child creation calls in an
if() statement? I
BTW,
I just added that simple little line and it works just like expected.
Well, who says wasting hours on a solution that takes 1 second is a bad thing?! :-)
Peace, MikeOn 3/14/06, Michael Schmalle [EMAIL PROTECTED] wrote:
Manish, H
I feel like an idiot! I forgot the styleName
On 3/15/06, Michael Schmalle [EMAIL PROTECTED] wrote:
PS Is it convention now that you put all child creation calls in an if()
statement? I thought createChildren() only ran once. Did this change in Flex2?
`createChildren` only runs once, but a subclass can override
`createChildren` and
Oh yeah,
They were doing that back with Flex1, got ya
Thanks,
Peace, MikeOn 3/14/06, Manish Jethani [EMAIL PROTECTED] wrote:
On 3/15/06, Michael Schmalle [EMAIL PROTECTED] wrote:
PS Is it convention now that you put all child creation
calls in an if() statement? I thought
Hello,
Lets say we have Component and SubComponent(composite inside Component, queued in Component.allChildrensList).
1) SubComponent uses getStyle(sizerThickness)
How do I get this to where you call
Component.setStyle(sizerThickness) and through inheriting this style,
SubComponent can use
8 matches
Mail list logo