header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
amarshukla
Points:0
Posts:0

9/7/2010 2:35:21 AM

Title: Drag drop between 2 Normal Windows


Hello folks!
I ran into a very interesting problem and not getting any solution. May be someone here could suggest em a solution for this. I have an application in which I have 2 Normal Windows.I want to drag a image from Window1 and want to drop into window2. Problem here is that Neither Drag Manager nor Native Drag drop will help as this scenario is entirely different.It is not a native drag drop as it doesn't involve OS drag drop neither Drag manager will work as Drag Manager is meant to handle drag-drop operation performed in single window only. If anybody ran into the same kind of issue and got solution then please share it with me.Thanks :)



1
bob_senior
Points: 1300
Posts:0
9/7/2010 9:08:44 AM



I don,t thing the native methods will be able to accomplish this but I can give you an idea. You can do it manually. While starting drag set a global variable to true and store the drag-able object in another variable . Now when you release mouse in other window , you need to check that global variable to see if dragging was true and if yes then get the dragged object from that variable and add it to the target.

2
amar shukla
Points: 0
Posts:0
9/8/2010 5:56:07 AM



Thanks bob,
I have solved it using clipboard class.


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 7+4 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions