Hello,
Did anyone see that before? I found it this morning. If you hava an applicationControlBar docked and have a list control which can accept drop operations, you will find that there is an offset for a dragManager.
Try the example. Try to drag the 3 item to the top most position and you will see the red cross telling you can't drop there, and if you drag the item underneath the list element, you will see that you still can drop to canvas.
I guess it happens when you have ApplicationContollerBar docked. It seems like offsetHeight = ApplicationControlBar.height.
Just wonder if anyone can confirm that.
-----------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
xmlns:services="com.business.*" xmlns:control="com.control.*" xmlns:ns1="com.comp.*"
backgroundGradientColors="[#ffffff, #ffffff]">
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
xmlns:services="com.business.*" xmlns:control="com.control.*" xmlns:ns1="com.comp.*"
backgroundGradientColors="[#ffffff, #ffffff]">
<mx:List x="40" y="58" width="148" dropEnabled="true" dragEnabled="true">
<mx:dataProvider>
<mx:String>test1</mx:String>
<mx:String>test2</mx:String>
<mx:String>test3</mx:String>
</mx:dataProvider>
</mx:List>
<mx:dataProvider>
<mx:String>test1</mx:String>
<mx:String>test2</mx:String>
<mx:String>test3</mx:String>
</mx:dataProvider>
</mx:List>
<mx:ApplicationControlBar x="68" y="10" dock="true">
<mx:Button label="Button"/>
</mx:ApplicationControlBar>
</mx:Application>
----------------------------------------
<mx:Button label="Button"/>
</mx:ApplicationControlBar>
</mx:Application>
----------------------------------------
--
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
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.