A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: NEED HELP WITH DRAG AND DROP

  1. #1
    I am learning how to use the drag and drop feature. How can you tell in FLASH where your objects are on the screen?

    How do you find out were your X and Y positions are so you can put the information in your script???



    If anyone knows the answer, please pass it on...

    Thank You
    Michael-

  2. #2
    Senior Member
    Join Date
    Mar 2000
    Posts
    597
    If the movie you are dragging is called “mymovie” and on the main timeline then you can find the x position by using

    Set Variable: "xpos" = GetProperty ("/mymovie", _x )
    and variable “xpos” will contain the x position of “mymovie”

    or by using the x position property of the movie clip directly “/mymovie:_x"

    Let me know if you need more,

    Rich.


  3. #3

    thanks rich

    Rich.... you da man...!!!

    Thank you


    Originally posted by rich
    If the movie you are dragging is called “mymovie” and on the main timeline then you can find the x position by using

    Set Variable: "xpos" = GetProperty ("/mymovie", _x )
    and variable “xpos” will contain the x position of “mymovie”

    or by using the x position property of the movie clip directly “/mymovie:_x"

    Let me know if you need more,

    Rich.


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