update for swf compiling