programming4us
 
Graphics
 

Adobe Flash Catalyst CS5 : Merging Changes from Catalyst into Flash Builder

12/8/2011 3:29:28 PM
Once a project has been opened and edited in Flash Builder, you will no longer be able to open it in Catalyst. In an ideal workflow, this would not be necessary; the design phase of the project will have been completed in Catalyst, and all that will remain will be editing it in Flash Builder.

However, ideal workflows rarely, if ever, apply in the real world. The unfortunate fact is that there will be times when edits need to be made to the visual interface of the project, and it may be easier to complete those edits in Catalyst rather than in Flash Builder. Therefore, you can open a back-up copy of the project in Catalyst, edit it, and then merge those changes into Flash Builder. Follow these steps:

  1. In Catalyst, choose File => Open Project.

  2. Select the back-up copy of the project.

  3. Click Open (see Figure 1).

    Figure 1. Selecting the back-up copy of the project to be opened in Catalyst
  4. Make any needed changes to the project. In this example, the heading text in the HomeState component is being changed (see Figure 2).

    Figure 2. Editing the project in Catalyst
  5. Choose File => Save to save the project in Catalyst (see Figure 3).

  6. Choose File => Save As to create a new back-up copy of the project. Once the changes are merged into Flash Builder, you will be unable to open the current back-up to the project in Catalyst for further edits, so you should make a new back-up. Of course, you could pass the new back-up off to Flash Builder, and continue using the current one as your Catalyst file.

  7. Type a new name or navigate to a new location to save the back-up (see Figure 4).

    Figure 3. Saving the project
    Figure 4. Saving a new back-up of the project
  8. Switch to Flash Builder.

  9. Choose File => Import Flex Project (FXP).

  10. Click Import new copy of project (see Figure 5).

  11. Navigate to the location of the new file from Catalyst. The changes will be opened in Flash Builder as a new project.

    Figure 5. Importing a new copy of the project
  12. To merge those changes into the existing project, right-click (+click) the new project in the Package Explorer.

  13. Select Compare With (see Figure 6), than select the original project. If it is the only other project currently open in Flash Builder, it will be the only item on the list.

    Flash Builder examines the code in both projects and display a dialog box detailing the differences it discovers between the two. Depending on the size and complexity of the files and your computer's resources, this process might take some time to complete.

    Figure 6. Selecting the Compare with command
  14. Expand the src folder, then the components folder, and then double-click HomeState.mxml. The component opens and the first difference between the files is highlighted.

  15. Click Next Difference to move to the next change. If necessary, scroll to the right to see the highlighted differences (see Figure 7).

  16. Click Copy All from Left to Right (see Figure 8).

    Figure 7. Changes highlighted in the code
    Figure 8. Accepting the changed code
  17. Click Close on the Compare window's tab (see Figure 9).

    Figure 9. Closing the Compare window
  18. Click Yes to save the comparison (see Figure 10).

  19. Right-click (+click) the project in the Package Explorer and select Close project (see Figure 10).

Figure 10. Saving the file comparison

Closing the project ensures that you will not accidentally begin editing it, instead of the other version of the project. You may want to actually delete the project from Flash Builder by right-clicking (+clicking) it and selecting Delete project.

Should you find yourself making multiple edits in Catalyst that need to be merged with Flash Builder, you will need to develop a clean naming convention for the new projects to avoid confusion. You may also want to treat the files to be merged as temporary files, deleting them immediately after merging into Flash Builder, so that you only keep two copies of the project:

  • The copy being edited in Flash Builder

  • The back-up for editing in Catalyst

You should also work with your Flex developer to attempt to limit the number of times changes need to be merged; for example, you may not want to send the developer a new copy of the project for every change, but instead wait to try to combine several changes together.

Figure 11. Closing the new project in Flash Builder
 
Others
 
- Adobe Flash Catalyst CS5 : Running a Project in Flash Builder
- Adobe Illustrator CS5 : Selecting Layers & Deleting Layers
- Adobe Illustrator CS5 : Creating Layers - Create a New Top Level Layer or Sublayer with Options
- Dreamweaver CS5 : Establishing Optional Regions (part 3) - Template expression examples
- Dreamweaver CS5 : Establishing Optional Regions (part 2) - Evaluating template expressions
- Dreamweaver CS5 : Establishing Optional Regions (part 1)
- Adobe Photoshop CS5 : The Fastest Way to Resize Brushes Ever (Plus, You Can Change Their Hardness, Too)
- Adobe Photoshop CS5 : Fixing Dark Eye Sockets
- Adobe After Effects CS5 : Creating a Basic Animation Using Effects and Presets - Creating a new composition
- Adobe After Effects CS5 : Importing footage using Adobe Bridge
 
 
REVIEW
 
- First look: Apple Watch

- 10 Amazing Tools You Should Be Using with Dropbox

- Sigma 24mm f/1.4 DG HSM Art

- Canon EF11-24mm f/4L USM

- Creative Sound Blaster Roar 2

- Alienware 17 - Dell's Alienware laptops

- Smartwatch : Wellograph

- Xiaomi Redmi 2
 
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
 
Video Tutorail 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
 
Top 10
 
- How To Install Android Market & Google Apps On Kindle Fire
- How To Make Ubuntu Look Like Windows 7
- How To Add A New Account in MS Outlook 2013
- Get Android & Mac OS X Style Gadgets For Windows 7 & Windows 8 With XWidget
- How To Activate Microsoft Office 2013
- How To Install Actual Facebook App On Kindle Fire
- How To Create, View And Edit Microsoft Office Files On Kindle Fire
- Download Attractive Business PowerPoint Templates For Free At SlideHunter
- How To Use And Enable Hibernate & Sleep Mode In Windows 8
- How To Get Microsoft Office 2013 Trial Product Key From Microsoft