Not sure how to do this?

Hi,

I have a button in an external swf file… this swf is called in a container in the main flash file… once the button is clicked i need it to run some code that i have in the main flash file.

i assume you use listeners?? i have looked at examples and cant figure out how to do it… tried out a few things but no good…

essentially what i need is when you click the button in the external swf it is like you are clicking the next button in my main flash file…

help please…