When you have any object that's only in one frame of a
movieClip, it seems this object is "null" and can't be accessed
through code. I find it really strange and I must be doing
something wrong, but what I do is simple: got the first frame
showing something and on mouseOver show a second frame with a "x"
button on top right to close the "window". So this "x" button is a
movieClip I placed in frame 2 only, and gave it a name. It used to
work with ActionScript 2 so either I was being lucky and it should
not have worked, or AS3 has some new way of doing this. Any
Well, I'll be damned, it seems I need to copy an object on
ALL the frames and make it Alpha 0% if I want the object to be
accessible through ActionScript. I actually got 5 frames and if I
only put it on the first frame, it won't be null but mouseDown
eventListener won't work... Hmmm that's the first thing I find that
looks like a patch with ActionScript 3.