Re: [Flashcoders] draggable mc with buttons in it?

2006-10-21 Thread mastro
@chattyfig.figleaf.com Sent: Wednesday, October 18, 2006 8:12 AM Subject: Re: [Flashcoders] draggable mc with buttons in it? If you've made your parent movie clip draggable by catching the onMouseDown, onMouseUp events etc., then you can't use the same events on your child movie clip (the buttons

[Flashcoders] draggable mc with buttons in it?

2006-10-18 Thread mastro
hello ! i made a draggable mc and include 3 buttons in it. how can i make the buttons working? i include a test.fla in this e-mail. thanx for helping !! m. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the

Re: [Flashcoders] draggable mc with buttons in it?

2006-10-18 Thread mastro
okay, it`s not possible to attach files to this mailinglist, here you can find the test file... http://nano.machfeld.net/download/test.zip cheers, m. hello ! i made a draggable mc and include 3 buttons in it. how can i make the buttons working? i include a test.fla in this e-mail. thanx

Re: [Flashcoders] draggable mc with buttons in it?

2006-10-18 Thread Éric Thibault
Your drag code on your toolbox takes over the button events inside it Place an invisible button inside your toolbox (like a drag bar...) and attach your drag code to it... inside your toolbox... drag_btn.onPress = function() { startDrag(this._parent);

Re: [Flashcoders] draggable mc with buttons in it?

2006-10-18 Thread Julien V.
:32 +0200 Sujet: [Flashcoders] draggable mc with buttons in it? À: flashcoders@chattyfig.figleaf.com hello ! i made a draggable mc and include 3 buttons in it. how can i make the buttons working? i include a test.fla in this e-mail. thanx for helping !! m

Re: [Flashcoders] draggable mc with buttons in it?

2006-10-18 Thread Michael Bedar
What you are seeing is that assigning an onPress and/or onRelease handler to a MC means that an contained subclips do not receive mouse events. What you need to do is create a movieclip at the same level as your buttons to be the clickable area, and assign the mouse functionality to that.

RE: [Flashcoders] draggable mc with buttons in it?

2006-10-18 Thread Keith Reinfeld
-Keith http://home.mn.rr.com/keithreinfeld -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of mastro Sent: Wednesday, October 18, 2006 3:43 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] draggable mc with buttons in it? hello ! i made

RE: [Flashcoders] draggable mc with buttons in it?

2006-10-18 Thread Keith Reinfeld
} HTH -Keith http://home.mn.rr.com/keithreinfeld -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of mastro Sent: Wednesday, October 18, 2006 3:43 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] draggable mc with buttons in it? hello ! i

Re: [Flashcoders] draggable mc with buttons in it?

2006-10-18 Thread Hans Wichman
Hi, dont use the onPress etc for the draggable clip, but implement something using hitTest. greetz JC On 10/18/06, mastro [EMAIL PROTECTED] wrote: hello ! i made a draggable mc and include 3 buttons in it. how can i make the buttons working? i include a test.fla in this e-mail. thanx for

Re: [Flashcoders] draggable mc with buttons in it?

2006-10-18 Thread Ujjwal Kabra
If you've made your parent movie clip draggable by catching the onMouseDown, onMouseUp events etc., then you can't use the same events on your child movie clip (the buttons). You need to have logic in your parent movieclip to figure out which of the children gets affected by the mousedown (or

Re: [Flashcoders] draggable mc with buttons in it?

2006-10-18 Thread Victor Gaudioso
: [Flashcoders] draggable mc with buttons in it? If you've made your parent movie clip draggable by catching the onMouseDown, onMouseUp events etc., then you can't use the same events on your child movie clip (the buttons). You need to have logic in your parent movieclip to figure out which of the children

RE: [Flashcoders] draggable mc with buttons in it?

2006-10-18 Thread Steven Sacks | BLITZ
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. ___ Flashcoders@chattyfig.figleaf.com To change your subscription

Re: [Flashcoders] draggable mc with buttons in it?

2006-10-18 Thread Victor Gaudioso
, 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

Re: [Flashcoders] draggable mc with buttons in it?

2006-10-18 Thread Michael Bedar
, 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

RE: [Flashcoders] draggable mc with buttons in it?

2006-10-18 Thread Steven Sacks | BLITZ
Well yes. That is the best way. I was just responding to using a mouse listener delegate. You definitely want to keep it simple and just put a clickable area behind the buttons in the clip. ___ Flashcoders@chattyfig.figleaf.com To change your