Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
tata668@gmail.com #1
Re: Drag and drop problem with "dragEnabled" and"allowMultipleSelection"
Update 2, if it can help someone:
Finally I don't manage the drag and drop by myself using
DragManager.doDrag(...). Why? Because doing so if the user clicks on the
scrollbars, on the datagrid header or on an empty row, it triggers the drag
start and that is ugly. By letting Flex managing the drag and drop process,
this doesn't append. BUT I was unable to use a custom proxy image then. Until I
found this article:
[url]http://www.dgrigg.com/post.cfm/11/03/2006/DataGrid-Drag-Image[/url]
The trick is:
1) save the mouseX and mouseY using the mousedown event.
2) override dragImage(), as the article says, to create your custom proxy,
attaching to it a FlexEvent.UPDATE_COMPLETE event, saving it to a class
variable and returning it.
3) When you receive the FlexEvent.UPDATE_COMPLETE event, you update the proxy
position (that is saved in a class variable) using the saved mouseX and mouseY
and you remove the listener to the event:
When you drop the proxy, you access the dragged items in :
event.dragSource.dataForFormat("items")
Hope this helps, I spent lot of time trying to resolve this issue! Now it
works perfectly! :-)
tata668@gmail.com Guest
-
Proj cannot run on LCDS 2.6 ES due to "Unable to resolveresource bundle "datamanagement" for locale "en_US"
hi, all, We have developped an application on Flex Build 3 (run successfully), but failed when we try to deploy it on Tomcat with LCDS 2.5 ES... -
CFINPUT type="radio" w/ "value" requires "label"
On a Flash form, when you specify type='radio' and value='whatever', the value of the 'value' attribute will be displayed as a label if no 'label'... -
#26162 [NEW]: $a="0abcdefg";if ($a==0) echo "OK"; result is "OK" ?!
From: zhuminglun at yahoo dot com dot cn Operating system: linux/win2000 PHP version: 4.3.4 PHP Bug Type: *General Issues... -
#26162 [Opn->Bgs]: $a="0abcdefg";if ($a==0) echo "OK"; result is "OK" ?!
ID: 26162 Updated by: didou@php.net Reported By: zhuminglun at yahoo dot com dot cn -Status: Open +Status: ... -
"Start" "Program" "Menu" list is empty
For what ever reason my list of installed programs in my "Start" "Programs" menu is empty. Anyone know how to restore the list. Thanks for your...



Reply With Quote

