June 8, 2009
Author's Response:
Using "eName" I was basically referring to it as the "export name" which is synonym to "linkage identifier". To debug your current situation, I'd probably first try just making a straight "attachMovie" call, using the linkage identifier you gave the clip and see is the clip appears. Remember that doing no other coding, the attached clip will appear at the origin (point 0,0) of whatever clip you attach it to. If it doesn't attach, check to make sure you're using the proper case on all characters when passing the name as an argument to the "easyAddFloor" function. If it DOES attach, then I would put a couple of "trace" commands into the "easyAddFloor" function to see where it falls down. For instance, try tracing out the "_name" property of the newly attached clip and see if anything traces. If it traces out "undefined" then the clip isn't being attached at all, and I would first check whether or not the "export in first frame" option is checked in the object's properties (access by right-clicking the clip in the library panel). If it IS checked, that's not the problem, but if it isn't, then you would need to have the clip represented somewhere in a timeline of your project for it to even exist in the compiled movie. If the name of the clip does trace out, then that clip you attached MUST exist somewhere. I'd check to make sure that the clip I am calling actually contains what I think it does, and that there aren't any extra keyframes that are blank, or code on a layer mucking with alphas or something within the clip that would be making it appear empty.
Otherwise, I am not entirely sure. If you like, PM me and I'll send you my e-mail. If you don't mind my seeing your source file I'd be happy to help you work the kinks out of it.