If you use mouseDown - clicking the buttons will generate the mouseUp/
mouseDown and onPress/onRelease events, which seems at best overkill,
and at worst could cause complications. Its much better to use a
subclip to be the draggable area.
On Oct 18, 2006, at 4:38 PM, Victor Gaudioso wrote:
See? Told you someone would chime in with a way to do it better.
LOL. I used Delegate beacuse I was having scope issues.
V
----- Original Message ----- From: "Steven Sacks | BLITZ"
<[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <[email protected]>
Sent: Wednesday, October 18, 2006 1:33 PM
Subject: RE: [Flashcoders] draggable mc with buttons in it?
Or you could skip the mouse listener and delegate and just in your
movieclip put the following:
onMouseDown = function() {};
onMouseUp = function() {};
No listener or delegate needed.
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com