Changed Flex to draw to bitmapData (more flexible). Added flex test app.