| Frédéric v. Bochmann 2005-07-28, 2:45 am |
| =20
Can someone explain me how to build an example of the use of:
application.registerProxy
=20
I=92ve tried something like this:
application.onAppStart =3D function () {
this.proxy1 =3D new NetConnection();
this.proxy1.onStatus =3D function (statusObj) {
trace("On Status of proxy1:"+statusObj.code);
if(statusObj.code =3D=3D
"NetConnection.Connect.Success") {
//application["callMethod"]();
}
}
this.proxy1.connect("rtmp://localhost/someApp");
application.registerProxy("callMethod",this);
}
=20
=20
What is wrong and how should I call the function and make it execute on =
the
other application?
The documentation isn=92t very clear about how to use this feature. =3D/
=20
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
|