What is 'this' in this.graphics.  Sprite, Shape? Something else?
 
Is mouseEnabled = false?
 
Per Gordon's question, does it only hit on colored areas?
 
-Alex

________________________________

From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of arpan srivastava
Sent: Wednesday, December 13, 2006 7:27 PM
To: [email protected]
Subject: Re: [flexcomponents] ListEvent.ITEM_ROLL_OVER event not firing
in datagrid ?



Hi Alex,
    I am just drawing 4 rectangles like this.
                    
                    var g:Graphics = this.graphics;
                    g.clear();
                    
                    g.beginFill(color);
                    g.drawRect(x,y,w,h);
                    g.endFill();
                    
                    g.beginFill(color);
                    g.drawRect(x1,y1,w1,h1);
                    g.endFill();

                     ...

    and in the main application where i used this datagrid I am
registering a ListEvent.ITEM_ROLL_OVER event for the datagrid, but when
I put my mouse over the column where i have drawn these rectangles,
event is not fired.


----- Original Message ----
From: Alex Harui <[EMAIL PROTECTED]>
To: [email protected]
Sent: Thursday, December 14, 2006 12:41:25 AM
Subject: RE: [flexcomponents] ListEvent.ITEM_ROLL_OVER event not firing
in datagrid ?



Unclear based on your description.  What does the code for your renderer
look like?

________________________________

From: flexcomponents@ yahoogroups. com [mailto:flexcompone
[EMAIL PROTECTED] com] On Behalf Of arpan srivastava
Sent: Wednesday, December 13, 2006 6:31 AM
To: Flex Components
Subject: [flexcomponents] ListEvent.ITEM_ ROLL_OVER event not firing in
datagrid ?



Hi,
    I am creating a datagrid in which one column contains a gauge for
which i created a renderer and i am drawing rectangles using graphics
for creating gauge. I have created a ITEM_ROLL_OVER event for that
datagrid, but when i roll my mouse over gauge column, event is not
fired. I am not getting why ? 


________________________________

Check out the all-new Yahoo! Mail beta
<http://us.rd.yahoo.com/evt=43257/*http://advision.webevents.yahoo.com/m
ailbeta>  - Fire up a more powerful email and get things done faster. 



________________________________

Everyone is raving about the all-new Yahoo! Mail beta.
<http://us.rd.yahoo.com/evt=45083/*http://advision.webevents.yahoo.com/m
ailbeta>  

 

Reply via email to