Actionscript to Javascript
Hello,
I´ve got the following code on Actionscript that I would like to write in Javascript. I´ll write my guess on what I think this code does.
// The first to lines set the element "mapa" on the specified x and y coordinates
_root.mapa_mc.mapa._x = -450;
_root.mapa_mc.mapa._y = -250;
//The next four lines create four variables and initialize them.
_global.medidaX= 0;
_global.medidaY= 0;
_global.medidaXX= -450;
_global.medidaYY= -452;
//These two lines scale the element mapa as specified.
this.mapa._xscale=70;
this.mapa._yscale=70;
//This is to stop the timeline.
stop();
