Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Drag and Drop Problems in Flash

  • 05-04-2008 8:08pm
    #1
    Closed Accounts Posts: 401 ✭✭


    I am having problems with Drag and dropping in Flash. I have written / copied code into Action Script. i can pick up the object but it wont let me put it down.

    Heres the code so far im using

    square_mc.onPress = function():Void {
    this.startDrag(true);
    reply_txt.text = "";
    };
    square_mc.onRelease = function():Void {
    this.stopDrag();
    if (eval(this._droptarget) == squareTarget_mc) {
    reply_txt.text="You got it!";
    }
    else{
    reply_txt.text="No, keep trying!";
    }
    };

    ill be able to pick up the square but i cant put it down ?? why is this or what am i missing??? Do i need anothe layer??

    ts my first time to try this and im following the tutorial at

    http://www.monkeyflash.com/flash/drag-and-drop/

    I must be some simple setting


Advertisement