Logo
HOW TO
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
 
 
Windows Vista

Adobe Flash Catalyst CS5 : Connecting Your Project to Live Data - Changing the Project Type (part 1) - Set up the project

6/11/2012 6:00:26 PM
When you create a project in Flash Builder, you must choose when you initially set up the project whether it will be static or use server-side resources.

Catalyst provides no such choice: All projects are assumed to be static.

1. Set up the project

When you import a Catalyst project that will need server-side resources into Flash Builder, you need to first convert the project to the appropriate type.

  1. Open Flash Builder. If necessary, open a project created in Catalyst or import a new Catalyst project (see Figure 1).

    Figure 1. Flash Builder with an open project created in Catalyst

  2. Click the Data/Services view, located by default at the bottom of the Flash Builder interface.

  3. Click the Connect to Data/Service link (see Figure 2) to launch the Flash Builder Wizard that will step you through the process of connecting to a server-side resource. The first step of the wizard allows you to choose the type of service to which you want to connect (see Figure 3).

    Figure 2. The Connect to Data/Services link in the Data/Services view in Flash Builder
  4. Click ColdFusion.

  5. Click Next. You will be alerted to the fact that your project is not configured properly (see Figure 3).

  6. Click Yes to open the settings dialog box to change the configuration. The Project Properties dialog box opens, with the Flex Server screen selected.

  7. From the Application server type drop-down list, select ColdFusion.

  8. If necessary, select the Use remote object access service option.

  9. Select ColdFusion Flash Remoting.

  10. Set the ColdFusion installation type to Standalone.

  11. Select the Use built-in ColdFusion web server checkbox. Assuming that you installed ColdFusion using the defaults, the Web root and Root URL text boxes should have the correct paths pre-configured.

    Figure 3. The first step of the wizard, where you select the type of service
    Figure 4. The configuration warning dialog box
  12. In the Compiled Flex application location, type the location where you want the file to be deployed. It must be within the Web root.

  13. Click OK (see Figure 5). Flash Builder displays the New Flex Service dialog box.

    Figure 5. The Flex Server configuration dialog box showing the settings necessary to set up a ColdFusion server resource.

    NOTE

    The Flex 4 Bible contains more details on setting up the server configuration. You can also look in the Flash Builder help files for more information.

  14. To specify the location of the ColdFusion Component (CFC), which will be responsible for retrieving the database information, click Browse and navigate to the directory that contains the CFC .

  15. Type magazineList as the Service name (see Figure 6). Flash Builder should automatically enter services.magazines as the Service package and valueObjects as the Data type package.

  16. Click Next.

    Figure 6. Configuring the ColdFusion service
  17. If you are prompted for an RDS username and password, type admin as the username and the RDS password you created when you installed ColdFusion (see Figure 7). Flash Builder examines the CFC and returns a list of the operations, or methods, available in it. In this example, there is only one such method.

  18. Select the method (see Figure 8).

  19. Click Finish. Flash Builder creates a series of ActionScript classes to process the data returned from the CFC.

    Figure 7. The RDS login screen
    Figure 8. Selecting the Service Operation
  20. In the Package Explorer, expand the services package, then the services.magazineList package to see the ActionScript files created by the wizard (see Figure 9).

Figure 9. The ActionScript files created to process the data

Your project is now properly set up, and the necessary ActionScript files have been created.

Other -----------------
- Adobe Flash Catalyst CS5 : Connecting Your Project to Live Data - Setting Up a Local Testing Server
- Adobe After Effects CS5 : The Timeline - Timing and Retiming
- Adobe After Effects CS5 : The Timeline - Motion Blur
- Adobe Flash Professional CS5 : Importing Graphics - Setting Illustrator Import Preferences
- Adobe Flash Professional CS5 : Importing Graphics - Understanding Vector and Bitmap Graphics
- Adobe InDesign CS5 : Managing Pages and Books - Navigating Pages & Adding Color Labels to Pages
- Adobe InDesign CS5 : Managing Pages and Books - Changing the Page Size
- Dreamweaver CS5 : Understanding Server Behaviors & Applying and Managing Server Behaviors
- Dreamweaver CS5 : Packaging Your AIR Application
- CorelDraw X5 : Getting Artistic with Text - Formatting Paragraph Text
 
 
REVIEW
- First look: Apple Watch

- 10 Amazing Tools You Should Be Using with Dropbox
 
VIDEO TUTORIAL
- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 1)

- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 2)

- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 3)
 
Popular tags
Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 Adobe Indesign Adobe Flash Professional Dreamweaver Adobe Illustrator Adobe After Effects Adobe Photoshop Adobe Fireworks Adobe Flash Catalyst Corel Painter X CorelDRAW X5 CorelDraw 10 QuarkXPress 8 windows Phone 7 windows Phone 8 BlackBerry Android Ipad Iphone iOS
Popular keywords
HOW TO Swimlane in Visio Visio sort key Pen and Touch Creating groups in Windows Server Raid in Windows Server Exchange 2010 maintenance Exchange server mail enabled groups Debugging Tools Collaborating
Top 10
- Microsoft Excel : How to Use the VLookUp Function
- Fix and Tweak Graphics and Video (part 3) : How to Fix : My Screen Is Sluggish - Adjust Hardware Acceleration
- Fix and Tweak Graphics and Video (part 2) : How to Fix : Text on My Screen Is Too Small
- Fix and Tweak Graphics and Video (part 1) : How to Fix : Adjust the Resolution
- Windows Phone 8 Apps : Camera (part 4) - Adjusting Video Settings, Using the Video Light
- Windows Phone 8 Apps : Camera (part 3) - Using the Front Camera, Activating Video Mode
- Windows Phone 8 Apps : Camera (part 2) - Controlling the Camera’s Flash, Changing the Camera’s Behavior with Lenses
- Windows Phone 8 Apps : Camera (part 1) - Adjusting Photo Settings
- MDT's Client Wizard : Package Properties
- MDT's Client Wizard : Driver Properties
 
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
2015 Camaro