A Flash Developer Resource Site

+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    Sep 2004
    Posts
    26

    Script object question

    HI all
    First of all Happy Xmas and a good new year.

    I am trying to find a way where

    if i drag objectA over objectB it will trigger a event

    eg

    Drag object A over object B stop drop and drage and run command

    i got no idea how i can do this, if any one can lend a hand or advise i be grateful

    Thank you in advance

  2. #2
    Senior Member vinayak.kadam's Avatar
    Join Date
    Oct 2006
    Location
    gotoAndPlay("Pune");
    Posts
    829
    hitTest() property of movieclip shall help you with your requirement!
    As ever,
    Vinayak Kadam

  3. #3
    Junior Member
    Join Date
    Sep 2004
    Posts
    26
    worked like a charm thank you

  4. #4
    Is the best Alloy Bacon's Avatar
    Join Date
    Apr 2011
    Posts
    327
    My question is how the hell doyou have only 26 posts and your join date is 2004
    (That awkward moment when you help someone and they never reply again :P)

  5. #5
    _____________ fruitbeard's Avatar
    Join Date
    Oct 2011
    Posts
    401
    Hi,

    Simple answer to that Alloy, he doesn't bulk up his posts number with useless answers, only the odd question.

  6. #6
    Is the best Alloy Bacon's Avatar
    Join Date
    Apr 2011
    Posts
    327
    Half of your answers aren't really useless yet you joined 2 years ago, so goto admit it is pretty weird that he posts like 1 thread every 2 years
    (That awkward moment when you help someone and they never reply again :P)

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