I created a new page type by extending Page. A requirement for the new page type is content editors to be able to add a Flash file (.swf).
I added the following code to the page type (ProjectPage), but now struggling with modifying getCMSFields() to add the field to a tab:
static $has_one = array(
'Photo' => 'Image',
'FlashHeader' => 'File'
);
Which FormField to use for uploaded files (not images) in addFieldToTab method?