The meaning of “external” link mode in Flex Builder

There are three modes for linking SWC library to flex application: “Merge into code”, “External” and “RSL”. I understand what “RSL” is, but I don’t understand what It is “external”.

“RSL” is fine for me, without any code changes. However, external does not work for me. Although my application starts, it is never found SWC is set to the class of External.

If it is not “RSL”, what does “external” mean? How can I use it?

Thank you,
Boris

Define the class as Externally allowed The Flex compiler links to a specific class at compile time, but does not cause it to be included in the generated SWF.

The general use of external classes is that you have multiple modules that use shared libraries. It is redundant to include shared class definitions in each module, and the External keyword allows you to control how these classes are compiled into the library.

For more information, please visit the following location:

< p>http://web.archive.org/web/20101007120528/http://www.wannaknowflex.com/2010/05/flex-linkage-difference-between-rsl-and-external/

http://www.flexafterdark.com/docs/Flex-Libraries

(external-library-path and load-externs compiler information):
http://www.newtriks.com /?p=802

There are three modes for linking SWC library to flex application: “Merge into code”, “External” and “RSL”. I understand what is “RSL”, but I don’t understand what “external” is.

“RSL” works well for me without any code changes. However, external does not work for me. Although I The application starts, but the class whose SWC is set to External is never found.

If it is not “RSL”, what does “external” mean? How can I use it?

Thank you,
Boris

Defining the class as External allows the Flex compiler to link to a specific class at compile time, but It will not cause it to be included in the generated SWF.

The general use of external classes is that you have multiple modules that use shared libraries. Including shared class definitions in each module is redundant, The External keyword allows you to control how these classes are compiled into the library.

For more information, please visit the following location:

http://web.archive.org/ web/20101007120528/http://www.wannaknowflex.com/2010/05/flex-linkage-difference-between-rsl-and-external/

http://www.flexafterdark.com/docs /Flex-Libraries

(external-library-path and load-externs compiler information):
http://www.newtriks.com/?p=802

Leave a Comment

Your email address will not be published.