Does this look right?

_global.unitx = 2;
_global.unity = 2;
_root[‘grid’+_global.unitx+_global.unity].attachMovie(“unit”, “unit”, 1);
with (_root[‘grid’+_global.unitx+_global.unity].unit) {
_x = 50;
_y = 50;
move = 0;
movex = 0;
movey = 0;
speed = 5;
walln = 20;
refire = 2;
reload = 5;
driver = 0;
vehiclename;
turretnbr;
firerate = 20;
vfirerate = 0;
fireratec = 0;
vfireratec = 0;
weaponauto = 0;
click = 0;
weptype = 0;
acuracy = 20;
debrisamount = 1;
amountofbullets = 3;
recoil = 50;
maxacuracy = 45;
minacuracy = 10;
bulletspeed = 20;
bulletrange = 100;
crouch = 0;
crouchacuracy = 10;
}
just need an answer it I’m using with right or does it only work with predefined prop. like _x and _width??