@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
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
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
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);
: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
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.
-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
}
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
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
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
: [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
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
, 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
, 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
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
15 matches
Mail list logo