Java to Flash