lol... I feel kinda stupid right now ...
Thanks Darin.. and sorry for that stupid question...

Tung Lee

On Thu, May 15, 2008 at 4:49 PM, Darin Kohles <[EMAIL PROTECTED]> wrote:

> it's the difference between 'click' and 'itemClick'; Other wise test
> for dgLB.selectedIndex > -1
>
> On Thu, May 15, 2008 at 4:37 PM, Tung Lee <[EMAIL PROTECTED]> wrote:
> > I have a app that allow user to select item on datagrid which generate
> > additional information on a list.
> > I also assign some effect to the list which will occur whenever user
> click
> > on the datagrid.
> >
> > Following is an example of the code
> >
> > <mx:Move id="moveShow" xFrom="1010" easingFunction="Elastic.easeInOut"
> > duration="1500"/>
> > <mx:Move id="moveHide" xTo="1010" easingFunction="Elastic.easeInOut"
> > duration="1500"/>
> >
> > <mx:DataGrid id="dgLB" click="{lbChangeFunction()}">
> >      <mx:columns>
> >           <mx:DataGridColumn/>
> >      </mx:columns>
> > </mx:DataGrid>
> >
> >
> > I guess b/c it's a click listener, user don't even have to click on the
> data
> > items to initiate the effect animation. The scroll bar, header text,
> > frame... anywhere they click will start the effect animation.
> > How can I make it where the effect animation will only occur when use
> make a
> > selection.
> >
> > Thanks
> >
> > -------------------------------------------------------------
> > To unsubscribe from this list, simply email the list with unsubscribe in
> the
> > subject line
> >
> > For more info, see http://www.affug.com
> > Archive @ http://www.mail-archive.com/discussion%40affug.com/
> > List hosted by FusionLink
> > -------------------------------------------------------------
>
>
>
> --
> Darin Kohles
> RIA Application Developer
>
>
> -------------------------------------------------------------
> To unsubscribe from this list, simply email the list with unsubscribe in
> the subject line
>
> For more info, see http://www.affug.com
> Archive @ http://www.mail-archive.com/discussion%40affug.com/
> List hosted by http://www.fusionlink.com
> -------------------------------------------------------------
>
>
>



-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in the 
subject line

For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------

Reply via email to