Accessing contents of loaded SWF

I loaded an external swf into flash using loadMovie. The loaded movie has a hidden button which does some actions. How can I, by clicking on a button on flash execute the actions of the button which exists on the loaded swf?

The loaded movie merged to the holder movie clip in your base movie. For example if you have a empty movie clip (_root.holder) on the stage. You are loading an exeternal SWF to that movie you can access the button instance name after
_root.holder. <instance name of button in the external SWF)

_root.holder.b1.onRelease = function () { // b1 is the button instance of movie clip
//instance in external SWF
//Do something.
}
You can write this script in the base movie’s first frame

:jailbreak