-
-
Notifications
You must be signed in to change notification settings - Fork 24
how run
lizhi edited this page May 26, 2016
·
17 revisions
- download flexjs sdk.
- download spriteflexjs source.
- run with windows run the bat,replace sdk path,and main var with your.
set FLEX_HOME=d:/sdk/flexjs7 ::set main=TestBitmapDraw ::set main=TestHungryHero ::set main=TestByteArrayVSArray ::set main=Main set main=Test3 set ARGS=-remove-circulars ::set ARGS=-debug=true -remove-circulars ::set ARGS=-remove-circulars -js-compiler-option="--compilation_level WHITESPACE_ONLY" start %FLEX_HOME%/js/bin/mxmlc %ARGS% -external-library-path="%FLEX_HOME%\js\libs\js.swc" -compiler.source-path=../src src/%main%.as -define=CONFIG::as_only,false -define=CONFIG::js_only,true
1.run with mac run the bat,replace sdk path,and main var with your.
#set FLEX_HOME=d:/sdk/flexjs7 FLEX_HOME=/FlexSDK/FlexJSNightly MXMLC_PATH="$FLEX_HOME/js/bin/mxmlc" EXTERN_PATH="$FLEX_HOME/js/libs/js.swc" main=TestBitmapDraw # main=TestHungryHero # main=TestByteArrayVSArray # main=Main # main=Test3 ARGS='-remove-circulars' #ARGS='-debug=true -remove-circulars' #ARGS='-remove-circulars -js-compiler-option="--compilation_level WHITESPACE_ONLY"' $MXMLC_PATH $ARGS -external-library-path="$EXTERN_PATH" -compiler.source-path=../src src/$main.as -define=CONFIG::as_only,false -define=CONFIG::js_only,true