I think you are asking for trouble. You can create new "Modula" type signatures by playing with invoke and closures, however, it might be counterproductive in my opinion. Just use Object or * as a return type and do typecasting on the caller's side.
 
HTH,
Anatole
----- Original Message -----
Sent: Tuesday, May 23, 2006 12:30 PM
Subject: [flexcoders] Dynamic Return types

Is it possible to dynamically set a return type of a method in as3 and if not is it a legitimate feature request?

 

Bjorn Schultheiss
Senior Flash Developer

QDC

Personalised Communication Power

Level 2, 31 Coventry St.
South Melbourne

3205, VIC Australia

T:  +61 3 9674 7400
F:  +61 3 9645 9160
W:  http://www.qdc.net.au

 

((------------This transmission is confidential and intended solely for the person or organization to whom it is addressed. It may contain privileged and confidential information. If you are not the intended recipient, you should not copy, distribute or take any action in reliance on it. If you believe you received this transmission in error, please notify the sender.---------------))

 



--
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




Reply via email to