
Open a code definition 193
Open a code definition
To help simplify navigating to, inspecting, and modifying the various elements of your code
that are located outside the document you are currently editing, you can open the source of an
external code definition from where it is referred to in your code.
1. In the sample code contained in the CodeEditor.mxml file, select the Label component and
press F3.
2. The file that contains the Label class code definition (part of the Flex framework) is opened
in the editor and the Label class is highlighted.
In this lesson, you walked through a number of the key code editing features in Flex Builder.
For more information about these and other code editing features, see Chapter 9, “Code
Editing in Flex Builder” in Using Flex Builder 2.
NOTE
For the purpose of this short tutorial, we demonstrated opening the source of a code
definition using one of the Flex framework components. The primary use of this
feature is to interact with, for example, files that are shared between your projects
such as ActionScript classes and MXML components. You should not attempt to
edit the Flex framework classes.
Kommentare zu diesen Handbüchern