LocalConnection code not working-help please?

I’m trying to get a button in swf A on one web page to open another web page containing swf B and have swf B start on a particular frame. I’m opening the new page fine, but swf B is starting at the beginning instead of on desired frame “peleven”.

I’ve read all I can find on LocalConnection and thought I’d figured it out–evidently not! Help please? Code is below.

//On button in sender swf A:

on(release) {getURL(“polypstestvar.htm”, “_blank”);

_root.sender.send(“FOBT”, “playhere”);}

//on frame where button appears (but in a different layer):

sender = new LocalConnection();

//on first frame of receiving swf B:

receiver = new LocalConnection();


receiver.playhere = function() {