fai riferimento a _root



_root.w_grid = _root.temp._width;
_root.h_grid = _root.temp._height;


e da fuori

trace(_root.w_grid)