| 194 | | Being written |
| | 194 | Before OVA for AS3 (or any OVA product) can be built, a number of environmental variables need to be set in the `build.properties` file that is located in the distribution `build directory. |
| | 195 | |
| | 196 | For OVA for AS3, the `FLEX_DIR` variable is the only mandatory entry that needs to be set. It must point to the base directory of your Flex SDK install so that the compilers etc. can be located by the OVA build scripts. |
| | 197 | |
| | 198 | {{{ |
| | 199 | FLEX_DIR = /Applications/flex_sdk_3 |
| | 200 | }}} |
| | 201 | |
| | 202 | If you are intending on building an OVA product that uses OVA for AS3 (i.e. OVA for Flowplayer or OVA for JW Player) and you have not located the source for those products relative to the OVA for AS3 package, you can customise the locations of these products via the `build.properties` file. The default values in the file are: |
| | 203 | |
| | 204 | {{{ |
| | 205 | OVA_JW5_BUILD_DIR = ../../ova.jwplayer.5x |
| | 206 | OVA_FLOWPLAYER_BUILD_DIR = ../../ova.flowplayer |
| | 207 | OVA_VPAID_BUILD_DIR = ../../ova.vpaid.ads |
| | 208 | }}} |
| | 209 | |
| | 210 | Finally, if you intend to build a "minimal" version of the OVA SWC, you can customise the components that are excluded in the build via the following variables in the `build.properties` file: |
| | 211 | |
| | 212 | {{{ |
| | 213 | INCLUDE_CONNECTORS = false |
| | 214 | INCLUDE_CALLBACKS = false |
| | 215 | INCLUDE_BUTTONS = false |
| | 216 | }}} |
| | 217 | |
| | 218 | `INCLUDE_CONNECTORS` refers to those components that provide "custom ad server" implementations. If these are excluded, the only ad server/tag type that can be used in your OVA config is "direct"/"static ad tags", excluding types such as "OpenX", "AdTech", "OASIS" etc. |
| | 219 | |
| | 220 | `INCLUDE_CALLBACKS` refers to the code in the OVA Library that triggers OVA Javascript callbacks. Excluding this component ensures that no Javascript callbacks are implemented. |
| | 221 | |
| | 222 | `INCLUDE_BUTTONS` refers to the embedded default button images for the Skip Ad and Overlay close buttons. Excluding these components means that you have to use custom formats for these features when configuring OVA. |