[SOLVED] Problem when using SpriteFlexJS with FlexJS SDK v0.8 "NullPointerExecption"
blackjyn opened this issue · 7 comments
I haven't tested flexjs 0.8. It seems that this method of deleting loop dependent arguments is different from the 0.7.
Thank you
I'll be waiting for the update 👍
i do not know,but ths args diff with 0.7.
-remove-circulars
and pls look at the flexjs0.8 doc.
Unfortunately, the Falcon compiler reference on Flex's chwiki was last updated on September 2016
:(
pls push a bug at.http://apache-flex-development.2333347.n4.nabble.com/
AH,.. Finally it caught up! :D
To use SpriteFlexJS with FlexJS v0.8 , new param must be explicitly declared : -targets="JSFlex"
This is the .bat file that I modified and works with FlexJS v0.8
set FLEX_HOME=d:/sdk/flexjs.0.8
set LIB=d:/sdk/Spriteflexjslib
set main=src/TestXML.as
start %FLEX_HOME%/js/bin/mxmlc -targets="JSFlex" -external-library-path="%FLEX_HOME%\js\libs\js.swc" -compiler.source-path=%LIB% %main%
They have refine asjsc and mxmlc
asjsc by default will NOT include HTML template unless you define and link it
mxmlc by default will compile to HTML and SWF
-targets param has two values: JSFlex and SWF
by running the .bat file above, the transpiation gets done correctly just I did with FlexJS v0.7
:)
nice job