I trying to create some drag and drop with canvas but I recive theses errors alerts.

Warning /canvas.mxml:50 
Property mx.controls.List.widthFlex is deprecated.  Please use width='n%', where n is a number from 1 to 100.
Warning /canvas.mxml:50
Property mx.controls.List.heightFlex is deprecated.  Please use height='n%', where n is a number from 1 to 100.

Warning /canvas.mxml:58
Property mx.controls.List.widthFlex is deprecated.  Please use width='n%', where n is a number from 1 to 100.
Warning /canvas.mxml:58
Property mx.controls.List.heightFlex is deprecated.  Please use height='n%', where n is a number from 1 to 100.
Warning /canvas.mxml:66
Property mx.controls.List.widthFlex is deprecated.  Please use width='n%', where n is a number from 1 to 100.
Warning /canvas.mxml:66
Property mx.controls.List.heightFlex is deprecated. Please use height='n%', where n is a number from 1 to 100.

And an error on the method with the classes

Error /canvas.mxml:44
There is no method with the name 'doDragEnter'



The part of code is below

<mx:Canvas backgroundColor="#FF0000" borderStyle="solid" width="30" height="30" mouseDown="dragIt(event, 'Red 1', 'red')">
<mx:Label text="1" x="8" y="6" width="22" height="24"/>
</mx:Canvas>





--
Igor Costa
www.igorcosta.com








--
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




Reply via email to