Open GoogleCodeExporter opened 9 years ago
That's a bug in need of fixing, thank you for reporting.
But why would you want to do that? There is a loadstring() function in Lua, if
you want to load some generated code.
Original comment by aglad...@gmail.com
on 12 Nov 2011 at 12:40
Thanks for your response. Could you let me know when will be the ETA for the
fixing?
I will also give loastring a shot.
Btw, do you know how can I implement "stop and wait" during the lua script
execution. For example, in lua script, I want to show an Actionscript dialog
box, and based on user's selection (Yes/No) to continue the next step, but I do
not know how to implement this with lua-alchemy.
Thanks
Original comment by jxyi...@yahoo.ca
on 14 Nov 2011 at 2:37
No ETA, sorry, unless someone contributes the patch or sponsors this fix. I
believe that loadstring is sufficient for your problem. (If not — please
explain more details in the mailing list:
https://groups.google.com/group/lua-alchemy-dev I will try to help you)
About stop and wait — sorry, this is offtopic for this ticket. Please post a
question to the mailing list and I'll help.
Original comment by aglad...@gmail.com
on 14 Nov 2011 at 11:38
Could you please let us know what will be the cost for getting this issue
addressed? please send an email to: yliu@seregon.com
Thanks.
Original comment by jxyi...@gmail.com
on 28 Jan 2012 at 1:45
Original comment by aglad...@gmail.com
on 6 Feb 2012 at 11:33
NB: Details on this issue:
https://groups.google.com/group/lua-alchemy-dev/browse_thread/thread/55a496a5ac3
58d8f
Original comment by aglad...@gmail.com
on 20 Feb 2012 at 12:14
Note, BTW, that it is sufficient to call as3.enable_sugar_autoconversion() once
per state (i.e. per lua variable in your example), no need to call it in each
doString(). (This should not cause this error, of course.)
Original comment by aglad...@gmail.com
on 20 Feb 2012 at 12:18
Note also that doString is deprecated. You should use doStringAsync instead.
Original comment by aglad...@gmail.com
on 25 Feb 2012 at 1:47
To clarify: following comment 8 wouldn't fix the bug. But you should not use
deprecated functions anyway.
Original comment by aglad...@gmail.com
on 25 Feb 2012 at 4:10
Hmm. Actually, hold the code conversion to the doStringAsync. Maybe I found a
bug there.
Original comment by aglad...@gmail.com
on 25 Feb 2012 at 6:00
OK, reentrant doStringAsync crashes horribly if used incorrectly, so do not
call it from Lua — disregard comment 8, in your case you should stick with
doString. (I will code a protection from accidental calls.)
Original comment by aglad...@gmail.com
on 25 Feb 2012 at 6:11
Original issue reported on code.google.com by
jxyi...@yahoo.ca
on 8 Nov 2011 at 4:41