THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- Compile your Flex application with the Falcon JX compiler.
- Open the JavaScript file that was generated from your main Flex application (e.g., if your Flex application's main file is Main.mxml, open Main.js).
- Insert the following lines before the
goog.provide()
statements:Code Block var mainjs = document.createElement('script'); mainjs.src = './createjs/easeljs-0.6.0.min.js'; document.head.appendChild(mainjs);
- Be sure to put a copy of the CreateJS component files in a sub-directory called,
createjs
, next to the other source directories.
If you open the TextButton.js file in the CreateJS package, you will find that the createElement()
function is rather different from either the basic TextButton or jQuery version of the TextButton:
...