Attach movie help

I was reading on how to create tiled games and came across attachMovie
_root.attachMovie(“empty”, “tiles”, ++d);
what exactly does attachMovie do?

Thanks

attachMovie attaches MC’s from the library.
Here’s a tutorial on how it works:
http://www.actionscript.org/tutorials/beginner/attachMovie/index.shtml

good luck!

I’m presently developing a tile based game (using hexes). I just posted a question about how to unload MCs. The code for attaching MCs is in my question. If you need any more help I’ll do what I can.

Boondogger

Thanks much, I understand it now