MACROMEDIA FLEX 2-MIGRATING APPLICATIONS TO FLEX 2 Manuel d'utilisateur Page 157

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 184
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 156
Command-line compilers 157
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 default-script-limits option is now 60 seconds. This option
did not impose a maximum value in Flex 1.x.
The
file-specs option has been removed. You do not need to specify -file-
specs=filename.mxml
because it is the default option. If the last option uses a space-
separated list, you can terminate the list with
-- before adding the MXML file name; for
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
0 (optimize) optimize
The optimize option no longer
suppresses
trace() method output. You
must manually remove the output.
report link-report
usenetwork use-network
Flex 1.x Name Flex 2 Name Comment
Vue de la page 156
1 2 ... 152 153 154 155 156 157 158 159 160 161 162 ... 183 184

Commentaires sur ces manuels

Pas de commentaire