thanks...I read that blog 4 times and until you pointed it out I didn't notice that the handler is different for the Observe vs. ObserveValue tag... my fault.

- Kevin


On Mar 29, 2007, at 3:51 PM, Tim Hoff wrote:


Yes, it is:

http://weblogs.macromedia.com/auhlmann/archives/2006/09/ using_binding_s.cfm#more

-TH

--- In [email protected], Kevin <[EMAIL PROTECTED]> wrote:
>
> Thanks. Is this different from the ObserveValue tag? I generally do
> not use any parameters in my ObserveValue handlers and get by without
> any errors?
>
> I'll test this some more. Thanks for the advice.
>
> - kevin
>
>
> On Mar 29, 2007, at 2:32 PM, Tim Hoff wrote:
>
> >
> > 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: 866-CYNERGY
> >
> > --- In [email protected], Kevin lists@ 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
> > >
> >
> >
> >
>




Reply via email to