A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: ActionScript Drawing - lineto - root co-ordinates ?!

  1. #1
    Senior Member
    Join Date
    Mar 2004
    Location
    Plymouth, UK
    Posts
    125

    ActionScript Drawing - lineto - root co-ordinates ?!

    Hi Guys

    I'm drawing lines in actionscript within a movieclip.

    How do i specify _root timeline co-ordinates instead of co-ordinates relative to the movieclip?

    Ie, lineto( 0,0) currently is the centre point of my movieclip, and not 0,0 on the root timeline....

    any suggestions?

    Cheers
    www.joeprice.co.uk - it's me!
    www.desktopwallpapers.co.uk - Cool Desktop Wallpapers from around the world
    www.multimedia-house.co.uk - the funky multimedia house
    www.wallpaperjoe.com - my photos as desktop wallpaper

  2. #2
    Senior Kid
    Join Date
    Jan 2002
    Location
    I am right behind ya
    Posts
    274
    look up localToGlobal & globalToLocal
    -The Dancin kidd

  3. #3
    Senior Member
    Join Date
    Mar 2004
    Location
    Plymouth, UK
    Posts
    125
    Thanks for the tip!

    :-)
    www.joeprice.co.uk - it's me!
    www.desktopwallpapers.co.uk - Cool Desktop Wallpapers from around the world
    www.multimedia-house.co.uk - the funky multimedia house
    www.wallpaperjoe.com - my photos as desktop wallpaper

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