flash manipulation