Menu

Tree [r331] / branches / hammer / framework / OSMF /
 History

HTTPS access


File Date Author Commit
 org 2011-03-08 acucu [r255] Synchronizing OSMF lib - step 2, adding the lat...
 .actionScriptProperties 2011-03-08 acucu [r255] Synchronizing OSMF lib - step 2, adding the lat...
 .flexLibProperties 2011-03-08 acucu [r255] Synchronizing OSMF lib - step 2, adding the lat...
 .project 2011-03-08 acucu [r255] Synchronizing OSMF lib - step 2, adding the lat...
 OSMF-build-config.xml 2011-03-08 acucu [r255] Synchronizing OSMF lib - step 2, adding the lat...
 osmf-build-config-10-1.xml 2011-03-08 acucu [r255] Synchronizing OSMF lib - step 2, adding the lat...
 osmf-build-config.flex 2011-03-08 acucu [r255] Synchronizing OSMF lib - step 2, adding the lat...
 osmf-build-config.flexcov 2011-03-08 acucu [r255] Synchronizing OSMF lib - step 2, adding the lat...
 readme.txt 2011-03-08 acucu [r255] Synchronizing OSMF lib - step 2, adding the lat...

Read Me

1. Logging and Conditional Compilation

Along with the introduction of the logging framework, the media framework also starts to use conditional employee. Currently, CONFIG::LOGGING is defined to include or exclude the TraceLogger as the default logger for the Log class. The rationale is that when an OSMF developer is developing a media player, the developer may need to have a logger by default, and when the development work is done, the default logger may become unnecessary. Excluding a default logger can decrease the size of the media player. 

By default, CONFIG::LOGGING is defined to be false for the downloadable binary. This can be considered a release version of the media framework. One may choose to set CONFIG::LOGGING to be true and build a debug version.

There are two ways to use the media framework. One is to include the OSMF.swc in the project. In this case, no special handling is needed for the OSMF application project. The other way is to include the source code of the media framework in the project. In this case, the developer needs to define CONFIG::LOGGING to be either true or false in the project setting. This must be done with both Flex Builder and Flash Authoring tool. Otherwise, a compilation error will occur.
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.