I have a movieclip called ghost. It's at (200, 250). Inside ghost is a point called ghostleft, which is positioned at (0, 50) within the ghost. And yet, when I do this:
ghostL.x comes out to be 214.1 (when it should be 200 + 0 = 200), and ghost.y comes out to be 240.25 (when it should be 250 + 50 = 300). Am I using localToGlobal wrong?Code:ghostL = {x:ghost.ghostleft.x, y:ghost.ghostleft.y}; ghost.localToGlobal(ghostL);




Reply With Quote
