Work like a charm for me. What's the problem?

On 1/23/06, Stacey Mulcahy < [EMAIL PROTECTED]> wrote:

Alrighty, I'm creating everything via as3 class and not using MXML persay in combo with script –

 

How can I tap into the DragManager class – I thought it would be via adding listeners.

 

I thought this would work:

  Var dg:DataGrid=new DataGrid();

// populate the columns and such

  dg.multipleSelection=true;

                    dg.dragEnabled=true;

                    dg.dropEnabled=true;

                    dg.addEventListener(DragEvent.DRAG_OVER,onRemoteDragOver);

                    dg.addEventListener(DragEvent.DRAG_START,onStartDrag);

                    dg.addEventListener(DragEvent.DRAG_ENTER,onRemoteDragEnter);

                    dg.addEventListener(DragEvent.DRAG_DROP,onRemoteDragDrop);

                    dg.addEventListener(MouseEventType.DOUBLE_CLICK, onRemoteDoubleClick);

 

 

// I thought it should be DragEventType but its not, according to the screaming compiler.

 

 

 

 

 



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


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




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to