I don't know if you are supposed to be able to reference the contents directly. The clip they are loaded in is called, I believe, "spHolder". So
should get you started. I might have forgotten a nested clip there so you can add a trace to your quilt movieclip.
trace("Current scope is: "+this);
And that will let you see where it is. I can't promise that it will stay that way....
Make that spContentHolder.
I had seen "spContentHolder" used in a couple of online examples, but since it doesn't get formatted as a reserved term in the Actions window I wasn't sure whether it was an ActionScript term or someone's variable name. Since it's an automatically generated name and not a method or a property, I guess the plain-Jane formatting makes sense. I had actually tried "spContentHolder", but I may have had some other part of the path wrong at that time. And of course there's the timing issue. If the movie clip isn't fully loaded, nothing inside it will respond to commands--I'm still working on that.
The scope trace is a nice trick and helped me arrive at the correct path, which at the moment I'm verifying with a button after the movie clip is loaded:
_root["quiltpane"]["spContentHolder"]["quilt"]["square" + loopcount]
glad that worked out for you. Yes trace is your friend.
BTW you need to use the array notation for everything and it is generally not such a great idea to use _root -- just in case you later load content into another swf the _root will change.
So if this were me....
And then later
Easier to read, easier to type. You can give those different names that are more meaningful for you. Also you will get code hinting since the variables are typed -- you won't get that with the array notation. You could even do something like:
blah blah blah.