考虑兼容性button与flash