How do i control an external swf

Hi,

I have a movie, Frames.swf, which opens an swf, Bees.swf. I created a stop action in Bees.swf on frame 2. I’d like to create a gotoandPlay action in Frames.swf that tells Bees.swf to play frame 5.
This is what i came up with but it doesn’t work.

In Frames.swf i used the code

Bees.swf.gotoAndPlay(5);

but this doens’t work.
So my question is, how do i write Bees.swf? because i’m guessing adding the period, makes it not work.
Any idea would be most helpful.

thanks.