I have tryed to alert the methods _getX() and _getY(), and both functions are working pretty. I think the problem it's on the styling thing, or getting the element on the page.
Maybe there's a simple error that I'm not seeing, i've spent too much time using Jquery, so probably I got too confortable on that.
Sorry for my bad english, it's not my native language.
Thank you all
02-24-2012, 06:46 AM
kromol
You should create your object after all assets will be downloaded.
It is working code:
Code:
window.onload = function(){
var WINDOW = new Window();
WINDOW._load();
}