fix filter by where
successfully writing cropped images to as3 instance.