updates actionscript to log console statements