Macromedia Flash Server - application.registerProxy

This is Interesting: Free IT Magazines  
Home > Archive > Macromedia Flash Server > July 2005 > application.registerProxy





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author application.registerProxy
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

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com