* Global Functions * @description Functions defined in the global namespace.
(msg)
| 4 | **/ |
| 5 | |
| 6 | function trace (msg) { |
| 7 | if (typeof msg === 'object') { |
| 8 | __trace(JSON.stringify(msg), 'log'); |
| 9 | } else { |
| 10 | __trace(msg, 'log'); |
| 11 | } |
| 12 | } |
| 13 | |
| 14 | function load (library, onComplete) { |
| 15 | if (typeof Runtime === 'undefined' || Runtime === null) { |