[FLEXJS] Creating new TextButton in RunTime

2014-05-27 Thread Logibérica - Paulo Esgaio
Dear (ex?)Flexers, I'm having a problem while compiling a simple app that uses antipatterns. Here's a partial sample: fx:Script ![CDATA[ import org.apache.flex.createjs.TextButton; private var obj:TextButton = new TextButton(); (...) ]] /fx:Script Error when compiling with FlexJS (FalconJX

Re: [FLEXJS] Creating new TextButton in RunTime

2014-05-27 Thread Alex Harui
Are you trying to build a CreateJS application? Otherwise, try using org.apache.flex.html.TextButton. One of the differences in FlexJS is that there can be multiple implementations of a component. The createjs.TextButton wraps the button used in CreateJS. There is one for Jquery, hopefully

Re: [FLEXJS] Creating new TextButton in RunTime

2014-05-27 Thread Peter Ent
Take a look at Application in the org.apache.flex.creatjs project. There's a note about bringing in the createJS package. Peter Ent Adobe Systems On 5/27/14 11:48 AM, Logibérica - Paulo Esgaio pesg...@logiberica.com wrote: Dear (ex?)Flexers, I'm having a problem while compiling a simple app