update engine for as3

Signed-off-by: rise <rise.worlds@outlook.com>