Hey there, i have a problem. i have a movieclip that is draggable but when i try and ad buttons there not clickable could someone help me?
Hi, I suggest you make a background clip inside your clip and give it a name, say "Base", place it below the buttons on another layer. Then exit your movie clip and place this code on the main timeline, assuming you give the whole clip the name "outer". PHP Code: outer.Base.onPress = function() { startDrag(outer); }; outer.Base.onRelease = function() { stopDrag(); };
outer.Base.onPress = function() { startDrag(outer); }; outer.Base.onRelease = function() { stopDrag(); };
Forum Rules