Adobe FLEX 2-MIGRATING APPLICATIONS TO FLEX 2 Manual page 157

Migrating applications to flex 2
Table of Contents

Advertisement

Flex 1.x Name
0 (optimize)
report
usenetwork
In addition, because the data services subsystem changed, mxmlc no longer takes the
following options:
gatewayurl
gatewayhttpsurl
proxyurl
proxyhttpsurl
proxyallowurloverride
remoteallowurloverride
webserviceproxydebug
The maximum value for the
did not impose a maximum value in Flex 1.x.
The
option has been removed. You do not need to specify
file-specs
specs=filename.mxml
separated list, you can terminate the list with
example:
mxmlc -option arg1 arg2 arg3 -- MyApp.mxml
For a complete list of the mxmlc options, see Building and Deploying Flex 2 Applications.
compc
The compc utility compiles SWC files. The compc parameters have changed significantly. For
usage information, see the command-line help or the Building and Deploying Flex 2
Applications.
SWC files created by the Flex 1.x compiler or by previous versions of Flash do not work in
Flex 2. If you try to use a SWC file that was generated by an earlier version of compc or
output from the Flash IDE, Flex displays a compiler error similar to the following:
Unable to parse SWC catalog for C:\JRun4\servers\flex2\flex\WEB-
INF\flex\user_classes\ModalText.swc: Unknown element in swc section in
catalog.xml: componentPackage
Flex 2 Name
optimize
link-report
use-network
default-script-limits
because it is the default option. If the last option uses a space-
Comment
The
option no longer
optimize
suppresses
trace()
must manually remove the output.
option is now 60 seconds. This option
before adding the MXML file name; for
--
Command-line compilers
method output. You
-file-
157

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flex 2

Table of Contents