I assined x and y positions for a movieclip to mouseX and mouseY. But while executing I am getting the error #1010 A term is undefined and has no properties...
By debugging I found that error is in that line only.
Try using the trace() function to see if tempcell is around when you try to assign it an x value. While you are at it try tracing everything in that line to see what falls out.
trace(tempcell, tempcell.x, mouseX);
tempcell.x = mouseX;
YOu should try to make a habit of using the trace() function, not only for troubleshooting, but equally so as a development tool that you use to check how things are processing as you advance thru a design.