flex framework