Thanks, toddster,Hello Lilnyc,
I would model the top flap separately and use a bend deformer (Deform_Nonlinear_Bend) to deal with the curve - you would need a few subdivisions in the mesh to make it bend smoothly. To abimate the flap simply set the pivot to the base of the flap and key the movement.
Hope this helps