ADOBE FLEX BUILDER 3
Using Adobe Flex Builder 3
42
1 In the Flex Navigator view, select the resource to move.
2 Do one of the following:
• Drag the resource to a new project.
• Cut and paste the resource to another project.
Note: You can move both normal resources and linked resources. For information about linking resources, see “Linking
to resources outside the project workspace” on page 42.
Refreshing resources in the workspace
As you edit, add, or delete resources in Flex Builder, the workbench automatically refreshes the various views that
display these resources. For example, when you delete a file from your project, that change is immediately reflected
in the Flex Navigator view.
You can also edit resources outside Flex Builder, directly in the file system. These changes are visible only inside Flex
Builder after you refresh the workspace.
By default, in the stand-alone configuration of Flex Builder, the workspace is refreshed automatically. This option is
available in the Flex Builder preferences dialog box, which you can access by selecting Window > Preferences >
General > Workspace. You can also change the Flex Builder default behavior so that it never refreshes the workspace
automatically.
Manually refresh the workspace
❖ In the Flex Navigator view, right-click (Control-click on Macintosh) and select Refresh from the context menu.
All project resources in the workspace are refreshed.
Turn off the automatic refresh preference
1 Open the Preferences dialog and select General > Workspace.
2 Deselect Refresh Automatically.
Linking to resources outside the project workspace
You can create links to resources outside the project and workspace location. You can link to folders and files
anywhere on the file system. This option is useful when you have resources that are shared between your projects.
For example, you can share a library of custom Flex components or ActionScript files among many different Flex
projects.
Folders that contain linked resources are marked in the Flex Navigator view (as the following example shows), so
that you can distinguish between normal and linked resources.
Other examples for linking resources include a folder of image file assets, or situations when the output folder is not
in the project root folder.
When you work with shared resources, the changes you make to the source folders and files affect all of the projects
that are linked to them. Be cautious when you delete linked resources from your projects; in some cases you merely
delete the link reference, and in others you delete the source itself. For more information, see “Deleting folders and
files” on page 41.
Get ADOBE® FLEX® BUILDER™ 3: USING ADOBE FLEX BUILDER 3 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.