add support for rewriting flash objects