Unity 4 web player unityObject.getObjectById dont work

Hi. I have problem with unity 4 webplayer and html communication. Sending value from unity works ok but another way I have same problem.

normal I use

var unity = unityObject.getObjectById("unityPlayer");

unity.SendMessage("objectname", "script name", walue);

but since I have new version of Unity it’s stops working.

Is any another way to send value from html?

try
var u = new UnityObject2(config);
u.getUnity().SendMessage

it works for me