NetConnection and __resolve
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Macromedia Flash Server > NetConnection and __resolve




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    NetConnection and __resolve  
Sarah Allen


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-19-06 06:11 PM

I'm trying to get __resolve to work with NetConnection, so I can dynamically
take an action based on what method is called from the server.  In the
following example I only see "nc.onStatus NetConnection.Connect.Success" in
the trace window.  If I uncomment the setId function it does get called.

nc = new NetConnection();
nc.__resolve = function(name) {
trace("__resolve " + name);
};
/**
nc.setId = function(num) {
trace('setId '+num);
}
**/
nc.connect("rtmp://localhost/test");
nc.onStatus = function(info){
trace("nc.onStatus "+info.code);
};

I must be missing something obvious.  Can anyone point me at what I'm doing
wrong?

Thanks,
Sarah
 ________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:16 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register