Detection help please

Hi, I have 2 swf’s in my Web page

The first one main.swf plays automatically and ends at frame 166
The second one nav.swf stops at frame 1

One frame 166 of main.swf I would like to somehow tell nav.swf to goto frame 2

Can anyone help me with this one?

Thanks in advance.