I managed to solve the problem.
The problem was in %M2MStudioPath%\plugins\com.wavecom.openat.ide.luacompiler.win32_2.0.0.201102171614-R6456\executables\lua2flash.lua file.
The line from get_bytecode() function, should look like this:
local cmd = “”$LUAC$" -o $TMP$ $FLASHFLAG$ $STRIPFLAG$ $SRC$ 2>&1" % options
I added " before and after $LUAC$ variable.
Best regards,
K.