Hi Kevin,
The Observe tag automatically sends the object that you are observing to
the handler function:
private function observeHandlerFunction( myProperty : myPropertyType ) :
void
{
// do something
}
<utils:Observe source="{ model.myProperty }" handler="{
observeHandlerFunction }"/>
-TH
__________________________________
Tim Hoff
Cynergy Systems, Inc.
http://www.cynergysystems.com
Office <http://www.cynergysystems.comoffice/> : 866-CYNERGY
--- In [email protected], Kevin <[EMAIL PROTECTED]> wrote:
>
> has anyone had problems using Paul's Observe tag? I am able to use
> ObserveValue fine, but when I try to use just the Observe tag I get
> an error saying that my handler function was expecting 0 arguments
> and got 1??? Is Observe sending arguments to the handler function
> that ObserveValue doesn't send? How should we set up the handler
> function to use the Observe tag.
>
> Here is the version I am using:
> http://weblogs.macromedia.com/auhlmann/archives/ObserveUtility.zip
>
> Thanks for the help.
>
> - Kevin
>