"localToGlobal" and non-stage items

I’m not sure why I haven’t run into this before, but I was working a bit with “localToGlobal” and realized that it even works for items that are not on the stage:

import flash.display.Sprite;
import flash.geom.Point;

var sp:Sprite = new Sprite();
sp.x = 54;
sp.y = 20;

//Outputs 108, 40
trace(sp.localToGlobal(new Point(sp.x, sp.y)));

Has anyone experimented with this further and found a pattern (or preferably a reason) behind what it does?

I would test myself, but I have learned that 99% of the time, someone has already tried this before me. :wink: