flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Logibérica - Paulo Esgaio <pesg...@logiberica.com>
Subject [FLEXJS] Creating new TextButton in RunTime
Date Tue, 27 May 2014 15:48:52 GMT
Dear (ex?)Flexers,

I'm having a problem while compiling a simple app that uses antipatterns.

Here's a partial sample:

import org.apache.flex.createjs.TextButton;
private var obj:TextButton = new TextButton();



Error when compiling with FlexJS (FalconJX Release )
When I try to compile into JS the following error occurs:

\bin\js-debug\org\apache\flex\createjs\core\UIBase.js:53: ERROR - variable createjs is undeclared
  this.element = new createjs.Container();

Removing both the lines it Works like a charm. Any ideas, anyone?


Paulo Esgaio

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message