I finally figured out the answer to this.

You need to pass scroll="scrollEventHandler(event.detail);"

event.detail is a string 

if (event == "previous Month"){
        iMonth = iCurrentMonth = iCurrentMonth - 1;
        }
if (event == "next Month"){
        iMonth = iCurrentMonth = iCurrentMonth + 1;
}




--- In [email protected], "Stacey Mulcahy" <[EMAIL PROTECTED]> wrote:
>
>    <mx:DateChooser scroll="getItems();"/>
> 
>  
> 
>  
> 
>   _____  
> 
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of grant.straker
> Sent: Monday, July 17, 2006 5:52 AM
> To: [email protected]
> Subject: [flexcoders] DateChooser Scrool Events
> 
>  
> 
> I'm trying to handle a DateChooser scroll event to run function when
> the month is changed in a datechooser and I"m not having too much luck.
> 
> If this works for a change event
> 
> change ="filterByDay(DateChooser(event.target).selectedDate);" 
> 
> What do I pass for a scroll event? and what type does my event handler
> listen for - DateChooserEvent?
> 
> Couldn't find any examples and my action script is fairly basic.
> 
> Cheers
> 
> Grant
>







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
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:
    http://docs.yahoo.com/info/terms/
 


Reply via email to