A Flash Developer Resource Site

Results 1 to 11 of 11

Thread: [RESOLVED] _x _y coordianates

  1. #1
    Senior Member calmchess's Avatar
    Join Date
    Sep 2006
    Location
    Earth
    Posts
    2,588

    [RESOLVED] _x _y coordianates

    Whats the easies way to determine the _x _y coordinates of the stage without compiling the .swf to see where an object is located?

  2. #2
    OOP is one letter from OOPS kortex's Avatar
    Join Date
    Aug 2005
    Location
    New Hope, PA
    Posts
    2,668
    You mean the x and why of a specific object on the stage?
    Jeremy Wischusen
    Flash - Flex - LAMP - Web Developer Purple Inc
    AS OOP FAQ-Best Practices Thread | Flashkit OOP Tutorials | Purple Inc (day job) | Blog


  3. #3
    Senior Member calmchess's Avatar
    Join Date
    Sep 2006
    Location
    Earth
    Posts
    2,588
    no i mean the x y of where i would like to place an object

  4. #4
    Senior Member
    Join Date
    Apr 2006
    Posts
    1,059
    the info panel has x,y mouse coords inside the flash movie...im kinda confused by the question...

  5. #5
    OOP is one letter from OOPS kortex's Avatar
    Join Date
    Aug 2005
    Location
    New Hope, PA
    Posts
    2,668
    Well you could just create a temporary object that you drag to various places on the stage to get the coordinates and then just delete it from the stage before you publish the movie.
    Jeremy Wischusen
    Flash - Flex - LAMP - Web Developer Purple Inc
    AS OOP FAQ-Best Practices Thread | Flashkit OOP Tutorials | Purple Inc (day job) | Blog


  6. #6
    Senior Member calmchess's Avatar
    Join Date
    Sep 2006
    Location
    Earth
    Posts
    2,588
    yeah kortex thats a good idea think I'll just do that ....thanks

  7. #7
    Senior Member calmchess's Avatar
    Join Date
    Sep 2006
    Location
    Earth
    Posts
    2,588
    nope that didn't work its off by a mile

  8. #8
    Senior Member
    Join Date
    Apr 2006
    Posts
    1,059
    the clip is placed based on its registration point(usualy the topleft corner)

    not sure if that has anything to do with your problem

  9. #9
    Senior Member calmchess's Avatar
    Join Date
    Sep 2006
    Location
    Earth
    Posts
    2,588
    that has everything to do with it because the x y coordinates that I trace seem to be going to the center of the object and thats where the registartion point currently is at.....I think you are a genius

  10. #10
    Senior Member
    Join Date
    Apr 2006
    Posts
    1,059
    glad to have helped :P hehe I figured that was too obvious...Ive seen some of your posts and you seem to have a pretty good idea aboput coding so i figured you already knew that :P

  11. #11
    Senior Member calmchess's Avatar
    Join Date
    Sep 2006
    Location
    Earth
    Posts
    2,588
    I'm always learning

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