Ryan, Try using the valueCommit event.
Tim Hoff --- In [email protected], "Ryan Pieszak" <[EMAIL PROTECTED]> wrote: > > Okay, part of the same process mentioned below... > > I need to calc the difference between two dates when either date > field changes, but none of the events do what they say. These are > the events that should do what I need, but all fire before the date > in the datefield changes. And the dataChange doesn't exist, as far > as I can tell. > > change > Dispatched when a date is selected or changed, and the DateChooser > control closes. > > close > Dispatched when a date is selected or the user clicks outside the > drop-down list. > > dataChange > Dispatched when the data property is changed > > Has anybody else seen this behavior? > > > --- In [email protected], "Benoit Hediard" <ben@> wrote: > > > > The functions code works great in AS3. > > Only the class definition must be changed. > > It works great! > > > > Ben > > > > -----Message d'origine----- > > De : [email protected] [mailto:[EMAIL PROTECTED] > De la > > part de Ryan Pieszak > > Envoyé : mercredi 12 avril 2006 20:12 > > À : [email protected] > > Objet : [flexcoders] Re: Beta2 - Date manipulation functions? > > > > Hey Benoit, > > > > Thanks for the link! Have you implemented the code yet? It says > on the > > page that it's AS2, and I think Flex 2.0 is based on AS3. Not sure > if it's > > an issue at all, thought I'd ask. I'll try to implement it now. > > > > Thanks again, > > Ryan > > > > --- In [email protected], "Benoit Hediard" <ben@> wrote: > > > > > > It's funny, I was looking for such functions today... > > > Here is an AS implementation equivalent to the ColdFusion dateAdd > > and > > > dateDiff functions! > > > http://jeff.mxdj.com/dateadd_for_actionscript.htm > > > > > > Benoit Hediard > > > > > > -----Message d'origine----- > > > De : [email protected] > [mailto:[EMAIL PROTECTED] > > De la > > > part de Ryan Pieszak > > > Envoyé : mercredi 12 avril 2006 19:58 > > > À : [email protected] > > > Objet : [flexcoders] Beta2 - Date manipulation functions? > > > > > > Hey all, > > > > > > Are there any date manipulation functions in Flex / > ActionScript? > > I need a > > > DateDiff function that will find the difference between two dates > > in hours, > > > and also a DateAdd function that will add hours to a date. > > > > > > I can't find anything on this, do such beasts exist? > > > > > > Thanks. > > > Ryan > > > > > > > > > > > > > > > > > > > > > -- > > > 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 > > > > > > > > > > > > > > > > > > > -- > > 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 > > > -- 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/

