Thanks for the quick and informative answer! http://www.haxe.org - the language has its roots in Actionscript, that's why I picked that one as starting point. So far I made good progress, except that there were no server side support. I ported the required libs classes from C# and added the missing server stuff in the generator. Was not that much work, most was simply commented out and needeed some tweaking.
________________________________ Von: Dimat Levchenko Gesendet: 06.08.2014 09:42 An: [email protected] Betreff: Re: ActionScript question hi, actionscript has no synchronose way to send packets - so, the callback is the result of asynchronose NetConnection.send() nature. hope this helps, p.s. what is haxe and why did you pick as3 as prototype ? 2014-08-06 10:07 GMT+03:00 Jens Geyer <[email protected]>: > Hi *, > > while rewriting a clone of the AS3 generator to become a Haxe generator, a > question popped up. > > The way, how the generated AS3 code returns results from a service call > via two callbacks: onError and onSuccess. This looks somewhat unusual to me > and I plan to change that for Haxe to the usual model of return values and > exceptions thrown. > > However, I would like to learn why it has been designed this way for AS3. > Anyone around who can shed some light on this? > > Thanks, > JensG
