A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [MX04] HELP (advanced actionscripting)

  1. #1
    Member
    Join Date
    Jul 2008
    Posts
    30

    [MX04] HELP (advanced actionscripting)

    ok, im makin a game in flash mx 2004, where you have to use your mouse to drag something to another place, i can do that, but how do i make it once you've dragged it, you cant do it again? please help

  2. #2
    Member
    Join Date
    May 2007
    Posts
    64
    Have you tried:

    PHP Code:
    var false;
    my_mc.onPress = function() {
        if (!
    _root.i) {
            
    this.startDrag(true);
        }
    }
    my_mc.onRelease = function() {
        
    stopDrag();
        
    _root.true
    }
    my_mc.onReleaseOutside my_mc.onRelease
    ?

    Hope this helps
    Rock and Roll is a flame. Don't let it die out!
    Rock on, peace out...

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