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);

       this._parent.swapDepths(1000);
}

drag_btn.onRelease = function() {
       stopDrag();
       if (this._parent._droptarget == "/silute") {
           this._parent._x = _root.silute._x;
           this._parent._y = _root.silute._y
       }
   }

A+

mastro a écrit :

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 for helping !!

m.

_______________________________________________
[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

Reply via email to