A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Script object question

  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
    831
    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
    Member Alloy Bacon's Avatar
    Join Date
    Apr 2011
    Posts
    1,090
    My question is how the hell doyou have only 26 posts and your join date is 2004
    I was born with a camera in my eyeball maybe

  5. #5
    . fruitbeard's Avatar
    Join Date
    Oct 2011
    Posts
    1,785
    Hi,

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

  6. #6
    Member Alloy Bacon's Avatar
    Join Date
    Apr 2011
    Posts
    1,090
    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
    I was born with a camera in my eyeball maybe

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