try using

watcher:ChangeWatcher=BindingUtils.bindSetter(changeFunction,objVBox,"height");


private function changeFunction(str:String):void
{
              objviewStack.height=objVBox.height;
}

this function actually binds the change of the property height of the vbox
to the property height of the viewStack

for more info visit the following:


http://labs.flexcoders.nl/2006/12/19/binding-101-changewatcher-and-bindingutils/
http://blog.flexexamples.com/2007/10/01/data-binding-in-flex/
http://livedocs.adobe.com/flex/3/html/help.html?content=databinding_7.html

Hope u get success!!
Hissam.

Please give me your feedback


On Wed, Sep 3, 2008 at 4:57 PM, Romulko <[EMAIL PROTECTED]> wrote:

>
> Hello.
> I have a vievStack and into it I have a VBox and into it I have many
> childrens (my own components). My components are very simple - a Title
> text and a Description text field. And into my component, when you
> click on the Title text, the Description text removed. Respectively,
> height is reduced. But viewStack don't change his size of height.
>
> Please tell me, how I can validate size in vievStack after change in
> childdrens?
> Thanks.
>
> >
>


-- 
-----------------------------
Warm Regards,
HISSAM,
Soft Engg,
iThinkLabs Pvt Ltd.
India.
website:http://www.ithink-labs.com
------------------------------

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to