The fFile component allows you to specify a file as part of your documents. You might for example, summarize a company's quarterly financial results in a list of news items; the fFile component enables you to include a file reference for a .pdf in your document that provides a more detailed financial report. Other file types such as .mp3 can also be used.
First, press Ctrl+F7 (Win) or Cmnd+F7 (Mac) to open the components panel and locate the fFile component inside the fCMSPro folder. Next drag a copy of the component onto the stage.
Select the component on the stage and press Alt+F7 to open the 'Component Inspector' panel. Enter a name for the component's field in the database in the field parameter.
If you wish to set the component's other parameters you can now do so.
You have already set the field parameter which specifies the data field that is controlled by the component.
The editable parameter indicates whether the content is editable or not.
Use the hidden parameter to define the visibility of the field.
The fileMC identifier parameter is the linkage identifier of a movie clip in the library that should be used to display the component's content. (This parameter is optional.)
The numberOfFiles parameter specifies the maximum number of permitted files.
linkDistance specifies the distance between the file description movie clips.
The allowDescription parameter indicates whether the file description is permitted or not.
Having set up the fFile component select it on the stage and press F8 to open the Convert to Symbol dialogue box. Enter an name for the symbol and click OK.
You can now position the clip somewhere in your movie and attach a fTemplate component as described in the Templates & Doc Types tutorial.