RE: [Flashcoders] Problems creating a drag and drop

2008-09-26 Thread Lord, Susan, CTR, DSS
Turns out it was a layering issue with my movie clips. Also, of course, add the listener to the stage instead of to the button. It works great! :) Thanks so much for all your feedback. You all really helped me think of new places to troubleshoot. :) I just had to post my final coding, becau

RE: [Flashcoders] Problems creating a drag and drop

2008-09-26 Thread Gregory Boudreaux
day, September 25, 2008 4:03 PM To: Flash Coders List Subject: RE: [Flashcoders] Problems creating a drag and drop Nevermind my last message... that was not the problem. The problem is my hit test. When I add the following code to determine whether the object is over the target, everything stops work

RE: [Flashcoders] Problems creating a drag and drop

2008-09-25 Thread Lord, Susan, CTR, DSS
ent: Thursday, September 25, 2008 4:43 PM To: Flash Coders List Subject: RE: [Flashcoders] Problems creating a drag and drop Thanks for all of your suggestions. I ended up restructuring the code and adding the event listeners for the mouse up to the stage instead and took them out of the array. It se

RE: [Flashcoders] Problems creating a drag and drop

2008-09-25 Thread Lord, Susan, CTR, DSS
Thanks for all of your suggestions. I ended up restructuring the code and adding the event listeners for the mouse up to the stage instead and took them out of the array. It seems to be working well (as long as I keep my mouse on the stage). I am very happy to have a working model! If anyone has

RE: [Flashcoders] Problems creating a drag and drop

2008-09-25 Thread Gregory Boudreaux
: Wednesday, September 24, 2008 3:55 PM To: Flash Coders List Subject: RE: [Flashcoders] Problems creating a drag and drop Thanks for the information. I think that may be part of my problem. I tried out the code on that site and Flash does not like the following circle.contains(event.target) If I take

Re: [Flashcoders] Problems creating a drag and drop

2008-09-24 Thread Glen Pike
to do a drag and drop in as3? I never had issues with this in 2. Thanks! Susan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt S. Sent: Wednesday, September 24, 2008 3:25 PM To: Flash Coders List Subject: Re: [Flashcoders] Problems creating a drag

RE: [Flashcoders] Problems creating a drag and drop

2008-09-24 Thread Lord, Susan, CTR, DSS
do a drag and drop in as3? I never had issues with this in 2. Thanks! Susan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt S. Sent: Wednesday, September 24, 2008 3:25 PM To: Flash Coders List Subject: Re: [Flashcoders] Problems creating a drag and

Re: [Flashcoders] Problems creating a drag and drop

2008-09-24 Thread Matt S.
You might need to add the "releaseOutside" hack for AS3, since there is no releaseOutside anymore: http://www.kirupa.com/forum/showthread.php?p=1948182#post1948182 On Wed, Sep 24, 2008 at 2:43 PM, Lord, Susan, CTR, DSS <[EMAIL PROTECTED]> wrote: > Hi there, > > I am having problems with my event

Re: [Flashcoders] Problems creating a drag and drop

2008-09-24 Thread Rob Romanek
Hey Glen when you say "your mouse up is outside the stage" do you mean that the mouse up is occurring outside of the dragged object in which case the object catching the up event is the stage object. (Rest of your sentence seems to imply that.) Susan, if you imagine your cursor moving faste

Re: [Flashcoders] Problems creating a drag and drop

2008-09-24 Thread Glen Pike
Hi, It could be because your mouse up is outside the stage - I have had problems with that - search for "MOUSE_LEAVE" or something similar - it maybe on the stage object. Glen Lord, Susan, CTR, DSS wrote: Hi there, I am having problems with my event listener for my drag and drop. Som