Specifications
21ADOBE FLEX 3
Building and Deploying Adobe Flex 3 Applications
The following example shows two Flex applications, appRoot1 and appRoot2. Each application has a subdirectory
for local MXML and ActionScript components, and can also reference a library of shared components:
The Flex compiler uses the source path to determine the directories where it searches for MXML and ActionScript
files. By default, the root directory of the application is included in the source path; therefore, a Flex application
can access any MXML and ActionScript files in its main directory, or in a subdirectory.
appRoot1
myValidators
myFormatters
myValidators
appRoot2
myFormatters
sharedLibrary
sharedValidators
sharedFormatters
PriceValidator.mxml
AddressValidator.as
PriceFormatter.mxml
StringFormatter.as
SharedVal1.mxml
SharedVal2.as
SharedFormatter1.mxml
SharedFormatter2.as
my Apps










