A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Draggable movie clip wont allow buttons?

  1. #1
    Junior Member
    Join Date
    May 2013
    Posts
    1

    Unhappy Draggable movie clip wont allow buttons?

    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?

  2. #2
    . fruitbeard's Avatar
    Join Date
    Oct 2011
    Posts
    1,780
    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();
    }; 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center