[flexcoders] dynamic method attachment to SharedObject

2006-06-27 Thread Mick Robin



Hi,I am working on a one to one chat application. I am using flex builder 2.0Beta 3 Flash Media Server 2.0. While working with sharedObject, I have comeacross a problem. I just wanted to attach a dynamic method to SharedObject the wayI used to do in AS2.0, AS1.0. The main issue is SharedObject class is no more dynamic.Here is the code what I want to achieve in AS2.0public var usersSO:SharedObject;usersSO.msgFromSrvr= function(event:Object){msgFromSrvrHandler(event);  }How can I achieve the same thing using AS3.0?Thanks in advance..:)  Mick 
		Yahoo! Groups gets better. Check out the new email design. Plus there’s much more to come. 
 

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



Re: [flexcoders] dynamic method attachment to SharedObject

2006-06-27 Thread Dominick Accattato



I think it has a client property which can point to a customclass with those methods. 
On 6/27/06, Mick Robin [EMAIL PROTECTED] wrote:







Hi,

I am working on a one to one chat application. I am using flex builder 2.0Beta 3 Flash Media Server 2.0. While working with sharedObject, I have comeacross a problem. I just wanted to attach a dynamic method to SharedObject the wayI used to do in 
AS2.0, AS1.0. The main issue is SharedObject class is no more dynamic.

Here is the code what I want to achieve in AS2.0

public var usersSO:SharedObject;

usersSO.msgFromSrvr= function(event:Object){msgFromSrvrHandler(event);
}

How can I achieve the same thing using AS3.0?

Thanks in advance..:)
Mick


Yahoo! Groups gets better. Check out the new email design.
 Plus there's much more to come. 

 

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___