Skip to main content
February 25, 2008
Question

Drag and Drop Predicament

  • February 25, 2008
  • 1 reply
  • 191 views
Hi guys,
So I'm having a problem with a drag and drop flash piece. Everything was going alright, I was able to drop the buttons I'm dragging in to specific cells. Then I wanted to have the buttons drop back to their starting place if the buttons are nowhere near the cells. This is where the problem resides:

When I try to put in the else coding it either (A) Tells me there's an error in the coding, or (B) Bypasses the drop actions for the cells and goes right back to the starting point.

The attach code command isn't working for me on this browser, but I will get the coding I have at the moment as soon as possible.
This topic has been closed for replies.

1 reply

February 25, 2008
Hello,

Yes if you could put your code up that would be great.

In your code, check to make sure your "if" statements contain "==" rather that just "=", that may or may not resolve your issue...

For example, see attached code

HTH,

Doug


February 28, 2008
A few days later...(I really should remember to subscribe to my topics...)
The return clip I have for the "Else" action is ExReturn if that helps.
here's the code I'm using. Did you mean when I'm doing the X and Y coordinates and the target?