The ActionScript to CFC wizard lets you create a ColdFusion component (CFC) based on an ActionScript class file.
Use the ActionScript to CFC wizard
  - In Flex Builder or Eclipse, go to the Project Navigator.
 
  - Right-click an ActionScript class file.
 
  - Select ColdFusion Wizards > Create CFC.
 
  - Enter the location of the CFC file in the Save to Project Folder text box, or click Browse and select the location.
 
  - Enter the filename of the CFC in the CFC Filename text box.
 
  - To replace an existing file, select Overwrite file.
 
  - To create get and set methods in the CFC, in addition to property definitions, select Generate Get/Set Methods.
 
  - To specify the property scope, select public or private.
 
  - Click Finish.