Access Movie Clip from Loaded SWF

Hello!
I have 2 .swf
main.swf
application.swf

main.swf loads (using Loader Class of course) application.swf
So, i need to do 2 things into main.swf BUT from application.swf
I have in main.swf

  • BlackBgMC (MovieClip), with a Shape Tween, in Stop on Frame 1
  • A Close Buttom that i put invisible in Frame 1
    So, FROM … application.swf in a some point (example Frame 10) i need to get Play the BlackBgMC (that is on main.swf), and the Close Buttom put it Visible.

From application.swf i put:
MovieClip(root).BlackBgMC.gotoAndPlay(2)
or
MovieClip(parent).BlackBgMC.gotoAndPlay(2)

And I always get
“TypeError: Error #1010: A term is undefined and has no properties.”

How do i gotoAndPlay that MC from application.swf
Sames happen with MovieClip(root).CloseButton.visible = true;

Please help me!