asdf gets set by a remoteobject result handler. I think I need to give
a little more detail...

I want to have code in MyComponent.mxml that has logic dependent on
values in the valueobject. So depending on what gets passed to the
component the component renders differently.

Thanks for the help Matt.

-James


On Tue, 2005-02-01 at 22:28 -0800, Matt Chotin wrote:
> How have you declared the asdf property? If itâs declared just as a
> var you shouldnât need to do anything.
> 
> 
> 
> Matt
> 
> 
> 
> 
> ______________________________________________________________________
> 
> From: James Ward [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, February 01, 2005 2:19 PM
> To: [email protected]
> Subject: [flexcoders] ChangeEvent on component in mxml component
> 
> 
> 
> 
> Hi everyone.
> 
> I have a mxml component with a ValueObject in it. I am binding to the
> valueobject where I use the component. How can I generate an event
> when
> the data changes?
> 
> My code is something like this:
> 
> <MyComponent data="{asdf}"/>
> 
> in MyComponent.mxml I have something like:
> 
> <ValueObject id="data"/>
> 
> ValueObject is a .as file.
> 
> 
> So how do I generate an event when {asdf} changes?
> 
> Thanks in advance.
> 
> -James
> 
> 
> 
> 
> 
> 
> 
> ______________________________________________________________________
> 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 the Yahoo! Terms of
> Service.
> 
> 




Reply via email to