Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
Windows Vista

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

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
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
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
 
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server