Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-09-07 Thread lizhi
hi,
Whether it's bug or not. But the flashplayer based AS3 language supports
this writing. And the old version of flexjs also supports this writing,
proving that it can be successfully compiled into JS code. Besides, we use
flexjs for a great reason because there are many old AS3 libraries, some of
which contain this type of writing, such as the GUI library I'm porting. If
you can't go to the old AS3 library, then flexjs will lose a lot of users.
And now the compiler has this error, did not prompt where this error, so
once there is an error, it is difficult to troubleshoot. Then again, the
best way for us to be an flexjs compiler is to implement the AS3 syntax
rules of flashplayer and flashair as much as possible, not to say that a
particular writing is bad and that it does not support this writing. And I
don't think there's any problem with the wording of static



-
spriteflexjs.com 
--
Sent from: http://apache-flex-development.247.n4.nabble.com/


Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-09-07 Thread lizhi
Thank you for finding the improvement. But I'm not going to change this part
of the code. I'm sure this is SDK bug, not code bug. I will wait for SDK to
fix the bug, such as SDK to version 1, to engage in flexjs, first do other
things recently.



-
spriteflexjs.com 
--
Sent from: http://apache-flex-development.247.n4.nabble.com/


Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-09-05 Thread lizhi
But I feel the spriteflexjs library has been wasted. Because a lot of test
examples are wrong now.

Uncaught TypeError: Cannot read property 'BaseRenderer' of undefined
at SpriteFlexjs.js:91
Language.js:238 power by SpriteFlexJS
Graphics.js:442 Uncaught TypeError: Cannot read property 'createPath' of
undefined
at flash.display.Graphics.makePath (Graphics.js:442)
at flash.display.Graphics.moveTo (Graphics.js:359)
at flash.display.Graphics.drawRect (Graphics.js:249)
at new TestMouseEvent (TestMouseEvent.js:92)
at localhost/:135
Stage.js:581 Uncaught TypeError: Cannot read property 'call' of undefined
at flash.display.Stage.__update (Stage.js:581)
TestMouseEvent.css Failed to load resource: the server responded with a
status of 404 (Not Found)



-
spriteflexjs.com 
--
Sent from: http://apache-flex-development.247.n4.nabble.com/


Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-09-05 Thread lizhi
Thank you very much!
Well, I also know there's a setTimeout, but this setTimeout is only JS
built, so I don't care.
However, it seems that the new version of the flexjs compiler has problems
dealing with static classes. And flexjs0.8 doesn't have that problem.



-
spriteflexjs.com 
--
Sent from: http://apache-flex-development.247.n4.nabble.com/


Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-09-05 Thread lizhi
no error too.

package 
{
import flash.utils.setTimeout;
public class TestBug 
{

public function TestBug() 
{
new TestBug2();
setTimeout(function():void{trace("se")}, 100);
trace(1);
}

}

}


package 
{
public class TestBug2 
{

public function TestBug2() 
{

setTimeout(function():void{trace("se")}, 100);
}

}

}




-
spriteflexjs.com 
--
Sent from: http://apache-flex-development.247.n4.nabble.com/


Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-09-04 Thread lizhi
no error

package 
{
import flash.utils.setTimeout;
public class TestBug 
{

public function TestBug() 
{

setTimeout(function():void{trace("se")}, 100);
flash.utils.setTimeout(function():void{trace("se")}, 
100);
trace(1);
}

}

}



-
spriteflexjs.com 
--
Sent from: http://apache-flex-development.247.n4.nabble.com/


Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-09-03 Thread lizhi

And I searched for flash.utils.settimeout in full text, and nowhere else to
use this class. Just some places use the JS built-in setTimeout



-
spriteflexjs.com 
--
Sent from: http://apache-flex-development.247.n4.nabble.com/


Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-09-03 Thread lizhi
Your SDK developers must be much easier than we're looking for. No matter how
many papers. Even if 100 files. Because you can debug, this bug is obviously
where the wrong report, as long as you use eclipse debug the code, observe
variables, how many documents does not matter



-
spriteflexjs.com 
--
Sent from: http://apache-flex-development.247.n4.nabble.com/


Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-09-02 Thread lizhi
So how do you solve this bug? Now change this bug, and people who use flexjs
later will be popular. If you know it is bug, but do not think of ways to
change this bug. Flexjs will only become less and less popular. Because
flash is dead, I don't want to see flexjs die too. Only SDK stability,
reduce bug, will be more and more people use flexjs. More people will use
more and more. Now I feel uncomfortable with this SDK, because every update
will always encounter a variety of bug, and then I will come to the forum to
ask questions. And as a Chinese, I'm not very good at communicating in
English



-
spriteflexjs.com 
--
Sent from: http://apache-flex-development.247.n4.nabble.com/


Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-09-01 Thread lizhi
D:\proj\git\spriteflexjs\test>D:\sdk\flexjs9/js/bin/mxmlc -targets=JSFlex
-js-output-optimization=skipAsCoercions -remove-circulars
-external-library-path="D:\sdk\flexjs9\js\libs\js.swc"
-compiler.source-path=../src src\TestHungryHeroGPU.as
-define=CONFIG::as_only,false -define=CONFIG::js_only,true 
Using Flex SDK: D:\sdk\flexjs9
MXMLJSC
-js-output-type=FLEXJS
-sdk-js-lib=D:\sdk\flexjs9\frameworks\js\FlexJS\generated-sources
-targets=JSFlex
-js-output-optimization=skipAsCoercions
-remove-circulars
-external-library-path=D:\sdk\flexjs9\js\libs\js.swc
-compiler.source-path=../src
src\TestHungryHeroGPU.as
-define=CONFIG::as_only,false
-define=CONFIG::js_only,true
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\events\IEventDispatcher.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\events\EventDispatcher.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\IBitmapDrawable.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\DisplayObject.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\InteractiveObject.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\DisplayObjectContainer.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\Sprite.js
Compiling file: D:\proj\git\spriteflexjs\test\bin\js-debug\TestHungryHero.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\TestHungryHeroGPU.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\events\Event.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\events\MouseEvent.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\geom\Transform.js
Compiling file: D:\proj\git\spriteflexjs\test\bin\js-debug\SpriteFlexjs.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\com\hsharma\hungryHero\HungryHero1.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\geom\Rectangle.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\spriteflexjs\Stats.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\Stage.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\utils\getTimer.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\Graphics.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\StageAlign.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\geom\Matrix.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\StageScaleMode.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\LoaderInfo.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\geom\Vector3D.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\BlendMode.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\geom\Point.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\__native\IRenderer.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\__native\BaseRenderer.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\__native\WebGLRenderer.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\net\URLVariables.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\events\TouchEvent.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\net\URLRequest.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\IGraphicsData.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\IGraphicsFill.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\GraphicsBitmapFill.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\IGraphicsPath.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\GraphicsPath.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\__native\GLGraphicsPath.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\accessibility\AccessibilityProperties.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\GraphicsGradientFill.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\StageQuality.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\accessibility\AccessibilityImplementation.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\geom\ColorTransform.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\GraphicsEndFill.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\com\hsharma\hungryHero\Assets.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\geom\PerspectiveProjection.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\geom\Matrix3D.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\text\TextSnapshot.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\text\TextFieldAutoSize.js
Compilin

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-09-01 Thread lizhi
I just downloaded the latest version of flexjs, setTimeout's bug, but my
spriteflexjs project was still wrong. I really don't know how to test this
bug, so can you go to GitHub and download my project?. Then compile it It's
easy for you to compile a flexjs project as a SDK developer. I really don't
know how to show you this bug



-
spriteflexjs.com 
--
Sent from: http://apache-flex-development.247.n4.nabble.com/


Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-31 Thread lizhi
the same.
D:\proj\git\spriteflexjs\test>D:\sdk\flexjs9_new/js/bin/mxmlc
-targets=JSFlex -js-output-optimization=skipAsCoercions -remove-circulars
-external-library-path="D:\sdk\flexjs9_new\js\libs\js.swc"
-compiler.source-path=../src src\TestBug.as -define=CONFIG::as_only,false
-define=CONFIG::js_only,true 
Using Flex SDK: D:\sdk\flexjs9_new
MXMLJSC
-js-output-type=FLEXJS
-sdk-js-lib=D:\sdk\flexjs9_new\frameworks\js\FlexJS\generated-sources
-targets=JSFlex
-js-output-optimization=skipAsCoercions
-remove-circulars
-external-library-path=D:\sdk\flexjs9_new\js\libs\js.swc
-compiler.source-path=../src
src\TestBug.as
-define=CONFIG::as_only,false
-define=CONFIG::js_only,true
Compiling file: D:\proj\git\spriteflexjs\test\bin\js-debug\TestBug.js
originalPath: goog/array/array.js
originalPath: goog/asserts/asserts.js
originalPath: goog/base.js
originalPath: goog/bootstrap/nodejs.js
originalPath: goog/debug/entrypointregistry.js
originalPath: goog/debug/error.js
originalPath: goog/deps.js
originalPath: goog/disposable/disposable.js
originalPath: goog/disposable/idisposable.js
originalPath: goog/dom/nodetype.js
originalPath: goog/events/browserevent.js
originalPath: goog/events/browserfeature.js
originalPath: goog/events/event.js
originalPath: goog/events/eventid.js
originalPath: goog/events/events.js
originalPath: goog/events/eventtarget.js
originalPath: goog/events/eventtype.js
originalPath: goog/events/listenable.js
originalPath: goog/events/listener.js
originalPath: goog/events/listenermap.js
originalPath: goog/labs/useragent/browser.js
originalPath: goog/labs/useragent/engine.js
originalPath: goog/labs/useragent/platform.js
originalPath: goog/labs/useragent/util.js
originalPath: goog/object/object.js
originalPath: goog/reflect/reflect.js
originalPath: goog/string/string.js
originalPath: goog/useragent/useragent.js
sorted filename: bootstrap/nodejs.js
sorted filename: base.js
sorted filename: deps.js
sorted filename: object/object.js
sorted filename: object/object.js
sorted filename: events/eventid.js
sorted filename: events/listenable.js
sorted filename: events/listener.js
sorted filename: string/string.js
sorted filename: dom/nodetype.js
sorted filename: debug/error.js
sorted filename: asserts/asserts.js
sorted filename: array/array.js
sorted filename: events/listenermap.js
sorted filename: events/eventid.js
sorted filename: events/listenable.js
sorted filename: events/eventid.js
sorted filename: disposable/idisposable.js
sorted filename: disposable/disposable.js
sorted filename: events/event.js
sorted filename: object/object.js
sorted filename: events/eventid.js
sorted filename: events/listenable.js
sorted filename: events/listener.js
sorted filename: string/string.js
sorted filename: dom/nodetype.js
sorted filename: debug/error.js
sorted filename: asserts/asserts.js
sorted filename: array/array.js
sorted filename: events/listenermap.js
sorted filename: events/eventid.js
sorted filename: events/listenable.js
sorted filename: string/string.js
sorted filename: reflect/reflect.js
sorted filename: string/string.js
sorted filename: labs/useragent/util.js
sorted filename: string/string.js
sorted filename: string/string.js
sorted filename: labs/useragent/util.js
sorted filename: labs/useragent/platform.js
sorted filename: string/string.js
sorted filename: string/string.js
sorted filename: labs/useragent/util.js
sorted filename: string/string.js
sorted filename: dom/nodetype.js
sorted filename: debug/error.js
sorted filename: asserts/asserts.js
sorted filename: array/array.js
sorted filename: labs/useragent/engine.js
sorted filename: string/string.js
sorted filename: object/object.js
sorted filename: string/string.js
sorted filename: labs/useragent/util.js
sorted filename: string/string.js
sorted filename: dom/nodetype.js
sorted filename: debug/error.js
sorted filename: asserts/asserts.js
sorted filename: array/array.js
sorted filename: labs/useragent/browser.js
sorted filename: useragent/useragent.js
sorted filename: events/browserfeature.js
sorted filename: string/string.js
sorted filename: reflect/reflect.js
sorted filename: string/string.js
sorted filename: labs/useragent/util.js
sorted filename: string/string.js
sorted filename: string/string.js
sorted filename: labs/useragent/util.js
sorted filename: labs/useragent/platform.js
sorted filename: string/string.js
sorted filename: string/string.js
sorted filename: labs/useragent/util.js
sorted filename: string/string.js
sorted filename: dom/nodetype.js
sorted filename: debug/error.js
sorted filename: asserts/asserts.js
sorted filename: array/array.js
sorted filename: labs/useragent/engine.js
sorted filename: string/string.js
sorted filename: object/object.js
sorted filename: string/string.js
sorted filename: labs/useragent/util.js
sorted filename: string/string.js
sorted filename: dom/nodetype.js
sorted filename: debug/error.js
sorted filename: asserts/asserts.js
sorted filename: array/array.js
sorted filename: labs/useragent/browser.js
sorted filename: useragent/u

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-31 Thread lizhi
nice.bug the only class ,do not have setTimeout,also get error.
package 
{
public class TestBug 
{

public function TestBug() 
{

}

}

}



-
spriteflexjs.com 
--
Sent from: http://apache-flex-development.247.n4.nabble.com/


Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-31 Thread lizhi
//testBug.as
package 
{
import flash.utils.setTimeout;
public class TestBug 
{

public function TestBug() 
{

setTimeout(function():void{}, 100);
}

}

}


//setTimeout.as
package flash.utils
{
public function setTimeout(closure:Function, delay:Number, ... 
args):uint
{
return 0;
//return new SetIntervalTimer(closure, delay, false, args).id;
}
}


//mxmlc -targets=JSFlex -js-output-optimization=skipAsCoercions
-remove-circulars -external-library-path="D:\sdk\flexjs9\js\libs\js.swc"
-compiler.source-path=../src src\TestBug.as





-
spriteflexjs.com 
--
Sent from: http://apache-flex-development.247.n4.nabble.com/


Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-30 Thread lizhi
if the code not have class,just function will get this error?




-
spriteflexjs.com 
--
Sent from: http://apache-flex-development.247.n4.nabble.com/


Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-30 Thread lizhi
Please download the source file from github and compile it with the commands
I have provided. It should be very easy for you. Thank you



-
spriteflexjs.com 
--
Sent from: http://apache-flex-development.247.n4.nabble.com/


Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-30 Thread lizhi




-
spriteflexjs.com 
--
Sent from: http://apache-flex-development.247.n4.nabble.com/


Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-30 Thread lizhi
Please help me with the solution. What information do I need to provide? The
company is in a hurry



-
spriteflexjs.com 
--
Sent from: http://apache-flex-development.247.n4.nabble.com/


Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-30 Thread lizhi
pls download the code from the github.thanks



-
spriteflexjs.com 
--
Sent from: http://apache-flex-development.247.n4.nabble.com/


Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-30 Thread lizhi
0.9 the newest



-
spriteflexjs.com 
--
Sent from: http://apache-flex-development.247.n4.nabble.com/


Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-30 Thread lizhi
https://github.com/matrix3d/spriteflexjs/blob/master/src/flash/utils/setTimeout.as



-
spriteflexjs.com 
--
Sent from: http://apache-flex-development.247.n4.nabble.com/


Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-30 Thread lizhi
Alex Harui-2 wrote
> Hmm.  Somehow the output thinks that setTimeout is not a native function
> and is looking for a file to match it.  How is setTimeout being used in
> your code?
> 
> I am done working for today.  Will check tomorrow.
> 
> -Alex
> 
> On 8/29/17, 10:47 PM, "lizhi" <

> sliz@

> > wrote:
> 
>>
>>
>>
>>Alex Harui-2 wrote
>>> Hi Lizhi,
>>> 
>>> Please post a link to the entire console output from the compile.  You
>>>can
>>> try to use paste.apache.org. Or pastebin.com or other similar service.
>>> 
>>> Thanks,
>>> -Alex
>>> 
>>> On 8/29/17, 10:10 PM, "lizhi" <
>>
>>> sliz@
>>
>>> > wrote:
>>> 
>>>>hi alex harui.which file error?
>>>>
>>>>
>>>>Alex Harui-2 wrote
>>>>> Post a link to your console output.  That exception often happens when
>>>>> there is no JS file for a class.  There should be mention of which
>>>>>file
>>>>>in
>>>>> the console output.
>>>>> 
>>>>> -Alex
>>>>> 
>>>>> On 8/28/17, 3:50 AM, "lizhi" <
>>>>
>>>>> sliz@
>>>>
>>>>> > wrote:
>>>>> 
>>>>>>get  this error with the option. -remove-circulars
>>>>>>
>>>>>>
>>>>>>java.lang.NullPointerException
>>>>>>org.apache.flex.compiler.internal.graph.GoogDepsWriter.getListOfFiles(
>>>>>>Go
>>>>>>og
>>>>>>DepsWriter.java:100)org.apache.flex.compiler.internal.codegen.mxml.fle
>>>>>>xj
>>>>>>s.
>>>>>>MXMLFlexJSPublisher.publish(MXMLFlexJSPublisher.java:311)org.apache.fl
>>>>>>ex
>>>>>>.c
>>>>>>ompiler.clients.MXMLJSCFlex.compile(MXMLJSCFlex.java:381)org.apache.fl
>>>>>>ex
>>>>>>.c
>>>>>>ompiler.clients.MXMLJSCFlex._mainNoExit(MXMLJSCFlex.java:239)org.apach
>>>>>>e.
>>>>>>fl
>>>>>>ex.compiler.clients.MXMLJSCFlex.mainNoExit(MXMLJSCFlex.java:196)org.ap
>>>>>>ac
>>>>>>he
>>>>>>.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:341)org.apache
>>>>>>.f
>>>>>>le
>>>>>>x.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:276)org.apache.flex
>>>>>>.c
>>>>>>om
>>>>>>piler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:236)org.apache.fle
>>>>>>x.
>>>>>>co
>>>>>>mpiler.clients.MXMLJSC.main(MXMLJSC.java:218)
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>-
>>>>>>spriteflexjs.com
>>>>>>--
>>>>>>View this message in context:
>>>>>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache
>>>>>>-f
>>>>>>le
>>>>>>x-development.247.n4.nabble.com%2FKotlinjs-has-solved-the-circular
>>>>>>-d
>>>>>>ep
>>>>>>endency-problem-Flexjs-do-you-have-any-plans-tp63965p63988.html&data=0
>>>>>>2%
>>>>>>7C
>>>>>>01%7C%7C65c9af8331fe4ab91abb08d4ee029b54%7Cfa7b1b5a7b34438794aed2c178d
>>>>>>ec
>>>>>>ee
>>>>>>1%7C0%7C0%7C636395142342198166&sdata=G56iFB7kKU4DScOrPchf39bDt3gpVovhX
>>>>>>TR
>>>>>>Ur
>>>>>>UtFHXQ%3D&reserved=0
>>>>>>Sent from the Apache Flex Development mailing list archive at
>>>>>>Nabble.com.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>-
>>>>spriteflexjs.com
>>>>--
>>>>Sent from: 
>>>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-f
>>>>le
>>>>x-development.247.n4.nabble.com%2F&data=02%7C01%7C%7Cdece15b94b1c439
>>>>15
>>>>65e08d4ef656935%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6363921
>>>>39
>>>>90240&sdata=ptGmNuZhbCY052fKJVKuKpD%2FfpLFNkW6Fep%2BvFK7OXM%3D&reserved=
> 
> i have look at this file,and can not find some bug.
> https://github.com/matrix3d/spriteflexjs/blob/master/src/flash/utils/setTimeout.as
>>>>0
>>
>>
>>
>>
>>
>>-
>>spriteflexjs.com 
>>--
>>Sent from: 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>>x-development.247.n4.nabble.com%2F&data=02%7C01%7C%7Ca42c3494bcbb4317c
>>33608d4ef6a8b9c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6363966882896
>>40071&sdata=%2FfxUN5T9UvKfWgr7PgaqCBrDEXMs48t8%2B2SweI6is5k%3D&reserved=0





-
spriteflexjs.com 
--
Sent from: http://apache-flex-development.247.n4.nabble.com/


Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-29 Thread lizhi



Alex Harui-2 wrote
> Hi Lizhi,
> 
> Please post a link to the entire console output from the compile.  You can
> try to use paste.apache.org. Or pastebin.com or other similar service.
> 
> Thanks,
> -Alex
> 
> On 8/29/17, 10:10 PM, "lizhi" <

> sliz@

> > wrote:
> 
>>hi alex harui.which file error?
>>
>>
>>Alex Harui-2 wrote
>>> Post a link to your console output.  That exception often happens when
>>> there is no JS file for a class.  There should be mention of which file
>>>in
>>> the console output.
>>> 
>>> -Alex
>>> 
>>> On 8/28/17, 3:50 AM, "lizhi" <
>>
>>> sliz@
>>
>>> > wrote:
>>> 
>>>>get  this error with the option. -remove-circulars
>>>>
>>>>
>>>>java.lang.NullPointerException
>>>>org.apache.flex.compiler.internal.graph.GoogDepsWriter.getListOfFiles(Go
>>>>og
>>>>DepsWriter.java:100)org.apache.flex.compiler.internal.codegen.mxml.flexj
>>>>s.
>>>>MXMLFlexJSPublisher.publish(MXMLFlexJSPublisher.java:311)org.apache.flex
>>>>.c
>>>>ompiler.clients.MXMLJSCFlex.compile(MXMLJSCFlex.java:381)org.apache.flex
>>>>.c
>>>>ompiler.clients.MXMLJSCFlex._mainNoExit(MXMLJSCFlex.java:239)org.apache.
>>>>fl
>>>>ex.compiler.clients.MXMLJSCFlex.mainNoExit(MXMLJSCFlex.java:196)org.apac
>>>>he
>>>>.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:341)org.apache.f
>>>>le
>>>>x.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:276)org.apache.flex.c
>>>>om
>>>>piler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:236)org.apache.flex.
>>>>co
>>>>mpiler.clients.MXMLJSC.main(MXMLJSC.java:218)
>>>>
>>>>
>>>>
>>>>
>>>>-
>>>>spriteflexjs.com
>>>>--
>>>>View this message in context:
>>>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-f
>>>>le
>>>>x-development.247.n4.nabble.com%2FKotlinjs-has-solved-the-circular-d
>>>>ep
>>>>endency-problem-Flexjs-do-you-have-any-plans-tp63965p63988.html&data=02%
>>>>7C
>>>>01%7C%7C65c9af8331fe4ab91abb08d4ee029b54%7Cfa7b1b5a7b34438794aed2c178dec
>>>>ee
>>>>1%7C0%7C0%7C636395142342198166&sdata=G56iFB7kKU4DScOrPchf39bDt3gpVovhXTR
>>>>Ur
>>>>UtFHXQ%3D&reserved=0
>>>>Sent from the Apache Flex Development mailing list archive at
>>>>Nabble.com.
>>
>>
>>
>>
>>
>>-
>>spriteflexjs.com 
>>--
>>Sent from: 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>>x-development.247.n4.nabble.com%2F&data=02%7C01%7C%7Cdece15b94b1c43915
>>65e08d4ef656935%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636392139
>>90240&sdata=ptGmNuZhbCY052fKJVKuKpD%2FfpLFNkW6Fep%2BvFK7OXM%3D&reserved=0





-
spriteflexjs.com 
--
Sent from: http://apache-flex-development.247.n4.nabble.com/


Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-29 Thread lizhi
hi alex harui.which file error?


Alex Harui-2 wrote
> Post a link to your console output.  That exception often happens when
> there is no JS file for a class.  There should be mention of which file in
> the console output.
> 
> -Alex
> 
> On 8/28/17, 3:50 AM, "lizhi" <

> sliz@

> > wrote:
> 
>>get  this error with the option. -remove-circulars
>>
>>
>>java.lang.NullPointerException
>>org.apache.flex.compiler.internal.graph.GoogDepsWriter.getListOfFiles(Goog
>>DepsWriter.java:100)org.apache.flex.compiler.internal.codegen.mxml.flexjs.
>>MXMLFlexJSPublisher.publish(MXMLFlexJSPublisher.java:311)org.apache.flex.c
>>ompiler.clients.MXMLJSCFlex.compile(MXMLJSCFlex.java:381)org.apache.flex.c
>>ompiler.clients.MXMLJSCFlex._mainNoExit(MXMLJSCFlex.java:239)org.apache.fl
>>ex.compiler.clients.MXMLJSCFlex.mainNoExit(MXMLJSCFlex.java:196)org.apache
>>.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:341)org.apache.fle
>>x.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:276)org.apache.flex.com
>>piler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:236)org.apache.flex.co
>>mpiler.clients.MXMLJSC.main(MXMLJSC.java:218)
>>
>>
>>
>>
>>-
>>spriteflexjs.com 
>>--
>>View this message in context:
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>>x-development.247.n4.nabble.com%2FKotlinjs-has-solved-the-circular-dep
>>endency-problem-Flexjs-do-you-have-any-plans-tp63965p63988.html&data=02%7C
>>01%7C%7C65c9af8331fe4ab91abb08d4ee029b54%7Cfa7b1b5a7b34438794aed2c178decee
>>1%7C0%7C0%7C636395142342198166&sdata=G56iFB7kKU4DScOrPchf39bDt3gpVovhXTRUr
>>UtFHXQ%3D&reserved=0
>>Sent from the Apache Flex Development mailing list archive at Nabble.com.





-
spriteflexjs.com 
--
Sent from: http://apache-flex-development.247.n4.nabble.com/


Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-28 Thread lizhi




-
spriteflexjs.com 
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Kotlinjs-has-solved-the-circular-dependency-problem-Flexjs-do-you-have-any-plans-tp63965p64009.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-28 Thread lizhi
get  this error with the option. -remove-circulars


java.lang.NullPointerException
org.apache.flex.compiler.internal.graph.GoogDepsWriter.getListOfFiles(GoogDepsWriter.java:100)org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.publish(MXMLFlexJSPublisher.java:311)org.apache.flex.compiler.clients.MXMLJSCFlex.compile(MXMLJSCFlex.java:381)org.apache.flex.compiler.clients.MXMLJSCFlex._mainNoExit(MXMLJSCFlex.java:239)org.apache.flex.compiler.clients.MXMLJSCFlex.mainNoExit(MXMLJSCFlex.java:196)org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:341)org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:276)org.apache.flex.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:236)org.apache.flex.compiler.clients.MXMLJSC.main(MXMLJSC.java:218)




-
spriteflexjs.com 
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Kotlinjs-has-solved-the-circular-dependency-problem-Flexjs-do-you-have-any-plans-tp63965p63988.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-27 Thread lizhi
Moreover, initialization of flexjs static variables needs to be optimized.







-
spriteflexjs.com 
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Kotlinjs-has-solved-the-circular-dependency-problem-Flexjs-do-you-have-any-plans-tp63965p63983.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-27 Thread lizhi
I'm not sure now. I'm porting a AS3 UI library. But a lot of serious mistakes
were reported. I'm checking out why this error happened

八月 28, 2017 1:59:13 下午 com.google.javascript.jscomp.LoggerErrorManager
println
严重: D:/proj/git/spriteflexjs/test/bin/js-debug/XML.js:14: ERROR - required
"XMLList" namespace not provided yet
goog.require('XMLList');
^^^

八月 28, 2017 1:59:13 下午 com.google.javascript.jscomp.LoggerErrorManager
println
严重: D:/proj/git/spriteflexjs/test/bin/js-debug/fairygui/GButton.js:13: ERROR
- required "fairygui.GComponent" namespace not provided yet
goog.require('fairygui.GComponent');
^^^

八月 28, 2017 1:59:13 下午 com.google.javascript.jscomp.LoggerErrorManager
println
严重: D:/proj/git/spriteflexjs/test/bin/js-debug/fairygui/GComboBox.js:12:
ERROR - required "fairygui.GButton" namespace not provided yet
goog.require('fairygui.GButton');


八月 28, 2017 1:59:13 下午 com.google.javascript.jscomp.LoggerErrorManager
println
严重: D:/proj/git/spriteflexjs/test/bin/js-debug/fairygui/GComboBox.js:13:
ERROR - required "fairygui.GComponent" namespace not provided yet
goog.require('fairygui.GComponent');
^^^

八月 28, 2017 1:59:13 下午 com.google.javascript.jscomp.LoggerErrorManager
println
严重: D:/proj/git/spriteflexjs/test/bin/js-debug/fairygui/GComboBox.js:14:
ERROR - required "fairygui.GLabel" namespace not provided yet
goog.require('fairygui.GLabel');
^^^




-
spriteflexjs.com 
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Kotlinjs-has-solved-the-circular-dependency-problem-Flexjs-do-you-have-any-plans-tp63965p63982.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-27 Thread lizhi
Please compile a simple kotlin project. I think this bug is very important
and should be repaired as soon as possible. Then kotlin is also open source.



-
spriteflexjs.com 
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Kotlinjs-has-solved-the-circular-dependency-problem-Flexjs-do-you-have-any-plans-tp63965p63979.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-26 Thread lizhi




-
spriteflexjs.com 
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Kotlinjs-has-solved-the-circular-dependency-problem-Flexjs-do-you-have-any-plans-tp63965.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


flexjs of new how use the js.swc?

2017-05-06 Thread lizhi
the -external-library-path="%FLEX_HOME%\js\libs\js.swc" not work.

and get error.
java.lang.NullPointerException
org.apache.flex.compiler.internal.graph.GoogDepsWriter.generateDeps(GoogDepsWriter.java:162)org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.publish(MXMLFlexJSPublisher.java:331)org.apache.flex.compiler.clients.MXMLJSCFlex.compile(MXMLJSCFlex.java:387)org.apache.flex.compiler.clients.MXMLJSCFlex._mainNoExit(MXMLJSCFlex.java:245)org.apache.flex.compiler.clients.MXMLJSCFlex.mainNoExit(MXMLJSCFlex.java:202)org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:347)org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:282)org.apache.flex.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:242)org.apache.flex.compiler.clients.MXMLJSC.main(MXMLJSC.java:224)





-
spriteflexjs.com 
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs-of-new-how-use-the-js-swc-tp61506.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] Subflash, a clone of the Flash API for Flex JS, progress and questions

2017-03-16 Thread lizhi
https://cwiki.apache.org/confluence/display/FLEX/Using+CreateJS+with+FlexJS



-
spriteflexjs.com 
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Subflash-a-clone-of-the-Flash-API-for-Flex-JS-progress-and-questions-tp60395p60540.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] Subflash, a clone of the Flash API for Flex JS, progress and questions

2017-03-16 Thread lizhi
hi @Carlos.
it is most same of createjs.
and the createjs mixable with flexjs.
and the same of the spriteflexjs



-
spriteflexjs.com 
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Subflash-a-clone-of-the-Flash-API-for-Flex-JS-progress-and-questions-tp60395p60539.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] - Is FlexJS ready for production?

2017-02-15 Thread lizhi
can you build this succuse?
https://github.com/apache/flex-asjs/tree/develop/examples/native/ButtonExample



-
spriteflexjs.com 
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Is-FlexJS-ready-for-production-tp59129p59421.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] - Is FlexJS ready for production?

2017-02-14 Thread lizhi

I do not understand mvn, but suggest that you can try my command line, it is
very simple, only one line



-
spriteflexjs.com 
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Is-FlexJS-ready-for-production-tp59129p59417.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] - Is FlexJS ready for production?

2017-02-14 Thread lizhi
thank you too.
i do not test on the mvn.
but it is baseon the bat.
https://github.com/matrix3d/spriteflexjs/wiki/how-run



-
spriteflexjs.com 
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Is-FlexJS-ready-for-production-tp59129p59381.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] - Is FlexJS ready for production?

2017-02-14 Thread lizhi

I have downloaded the latest version many times. Has not found the
problem.https://github.com/matrix3d/spriteflexjs/issues/10#issuecomment-279165933
This link is friends three days ago to download the 0.8 version, but also
successfully compiled through. I think spriteflexjs does not have
compilation problems. Where you are being given, can be sent to me, or
github. I do not know where there is a problem with compilation



-
spriteflexjs.com 
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Is-FlexJS-ready-for-production-tp59129p59379.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


flexjs and flashdevelop

2017-02-13 Thread lizhi
https://github.com/matrix3d/spriteflexjs/wiki/flashdevelop



-
spriteflexjs.com 
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs-and-flashdevelop-tp59364.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] - Is FlexJS ready for production?

2017-02-13 Thread lizhi
agree you.

and 

Put bug.
Help with publicity.
Do the test game.

all can help the proj



-
spriteflexjs.com 
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Is-FlexJS-ready-for-production-tp59129p59363.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


this utf-8 code bug.flexjs

2017-02-07 Thread lizhi
https://issues.apache.org/jira/browse/FLEX-35233



-
spriteflexjs.com 
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/this-utf-8-code-bug-flexjs-tp59075.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: org.apache.flex.utils.Language.Vector is not a function

2017-01-04 Thread lizhi
can you direct test the spriteflexjs?it is a open source project.

every time i update the sdk,will get some new issue.

the flexjs is very good.

thanks the flexjs sdk.

but.

as a sdk,the Stability is important.



-
spriteflexjs.com 
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/org-apache-flex-utils-Language-Vector-is-not-a-function-tp57649p57894.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: org.apache.flex.utils.Language.Vector is not a function

2017-01-03 Thread lizhi
?nobody have this bug?



-
spriteflexjs.com 
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/org-apache-flex-utils-Language-Vector-is-not-a-function-tp57649p57818.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


org.apache.flex.utils.Language.Vector is not a function

2016-12-29 Thread lizhi
i now update the flesjs sdk from dev.
but get a lot of error.
one error it is this.

org.apache.flex.utils.Language.Vector is not a function







-
spriteflexjs.com 
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/org-apache-flex-utils-Language-Vector-is-not-a-function-tp57649.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: ?the chinese word bug,i have put the bug 8 month ago,it is hard to fixed?

2016-12-29 Thread lizhi
https://issues.apache.org/jira/browse/FLEX-35233



-
spriteflexjs.com 
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/the-chinese-word-bug-i-have-put-the-bug-8-month-ago-it-is-hard-to-fixed-tp57644p57647.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


?the chinese word bug,i have put the bug 8 month ago,it is hard to fixed?

2016-12-29 Thread lizhi
this is import for some no english app for flexjs

and i think it is easy fixed.

i have put the bug at Apr 25, 2016; 5:39pm.

but  have not fixed.

pls fixed it.

var str:String ="你好" 

get js 

var str ="";



-
spriteflexjs.com 
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/the-chinese-word-bug-i-have-put-the-bug-8-month-ago-it-is-hard-to-fixed-tp57644.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: how debug release ,with source map?

2016-12-28 Thread lizhi
the log

Installer version 3.2.0 (windows)
Using Locale: zh_CN
已从 CGI 取得 SDK 的镜像下载 URL 地址.
SDK version Apache FlexJS Nightly
AIR version 23.0
Flash Player version 23.0
正在创建 Apache FlexJS 主目录
正在创建临时目录
正在下载 Apache
FlexJS:http://apacheflexbuild.cloudapp.net:8080/job/flex-asjs/lastSuccessfulBuild/artifact/out/apache-flex-flexjs-0.8.0-bin.zip
正在检查 Apache FlexJS 的 MD5 签名
所下载文件的 MD5 签名和 Apache FlexJS 的官方签名不一致, 此文件无效, 安装中止.
安装中止




-
spriteflexjs.com 
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/how-debug-release-with-source-map-tp57606p57608.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


the apache flex sdk installer,catch not work

2016-12-28 Thread lizhi




-
spriteflexjs.com 
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/the-apache-flex-sdk-installer-catch-not-work-tp57607.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


how debug release ,with source map?

2016-12-28 Thread lizhi
i get the error url with source map?

file://d?

http://localhost:2000/bin/js-release/D:/sdk/flexjs/js/lib/google/closure-library/closure/goog/base.js



-
spriteflexjs.com 
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/how-debug-release-with-source-map-tp57606.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


flexjs chinese chat output error

2016-12-25 Thread lizhi
as3
var a:String="汉字"

js
var a="**"





-
spriteflexjs.com 
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs-chinese-chat-output-error-tp57562.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


flexjs and flex how inline

2016-09-29 Thread lizhi
the adobe asc2 -inline option [Inline].

how flex and flexjs?it is gread inline suport



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs-and-flex-how-inline-tp55459.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: flexjs0.8 vector and object,bug

2016-09-26 Thread lizhi
your js.swc the same with flexjs0.8,can not work with me.

pls get you console output



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs0-8-vector-and-object-bug-tp55262p55329.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: flexjs0.8 vector and object,bug

2016-09-26 Thread lizhi
i have upload my js.swc.

D:\proj\git\spriteflexjs\test\src>d:/sdk/flexjs/js/bin/mxmlc
-external-library-p
ath="d:/sdk/flexjs\js\libs\js.swc" VectorObject.as
Using Falcon codebase: d:\sdk\flexjs\js\bin\..\..
Using Flex SDK: d:/sdk/flexjs
Compiling file: D:\proj\git\spriteflexjs\test\bin\js-debug\VectorObject.js
using extern: D:\proj\git\spriteflexjs\test\bin\js-debug\externs\svg.js
using SWC: d:\sdk\flexjs\js\libs\js.swc
using SWC: d:\sdk\flexjs\frameworks\libs\Binding.swc
using SWC: d:\sdk\flexjs\frameworks\libs\Charts.swc
using SWC: d:\sdk\flexjs\frameworks\libs\Collections.swc
using SWC: d:\sdk\flexjs\frameworks\libs\Core.swc
using SWC: d:\sdk\flexjs\frameworks\libs\CreateJS.swc
using SWC: d:\sdk\flexjs\frameworks\libs\DragDrop.swc
using SWC: d:\sdk\flexjs\frameworks\libs\Effects.swc
using SWC: d:\sdk\flexjs\frameworks\libs\Flat.swc
using SWC: d:\sdk\flexjs\frameworks\libs\Formatters.swc
using SWC: d:\sdk\flexjs\frameworks\libs\GoogleMaps.swc
using SWC: d:\sdk\flexjs\frameworks\libs\Graphics.swc
using SWC: d:\sdk\flexjs\frameworks\libs\HTML.swc
using SWC: d:\sdk\flexjs\frameworks\libs\HTML5.swc
using SWC: d:\sdk\flexjs\frameworks\libs\jQuery.swc
using SWC: d:\sdk\flexjs\frameworks\libs\Language.swc
using SWC: d:\sdk\flexjs\frameworks\libs\Mobile.swc
using SWC: d:\sdk\flexjs\frameworks\libs\Network.swc
using SWC: d:\sdk\flexjs\frameworks\libs\Reflection.swc
using SWC: d:\sdk\flexjs\frameworks\libs\Storage.swc
using SWC: d:\sdk\flexjs\frameworks\libs\XML.swc
using SWC: d:\sdk\flexjs\frameworks\libs\player\23.0\playerglobal.swc
Dependencies calculated for
'D:\proj\git\spriteflexjs\test\bin\js-debug\VectorOb
ject.js'
九月 27, 2016 10:58:22 上午 com.google.javascript.jscomp.LoggerErrorManager prin
tSummary
信息: 0 error(s), 0 warning(s), 94.1585096305652% typed
The project 'VectorObject' has been successfully compiled and optimized.

can you give me your full output?



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs0-8-vector-and-object-bug-tp55262p55327.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: flexjs0.8 vector and object,bug

2016-09-26 Thread lizhi
js.zip
  



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs0-8-vector-and-object-bug-tp55262p55326.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: flexjs0.8 vector and object,bug

2016-09-26 Thread lizhi
the 2016.7.25 js.swc work good.
the 2016.9.23 js.swc not work good



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs0-8-vector-and-object-bug-tp55262p55325.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: flexjs0.8 vector and object,bug

2016-09-26 Thread lizhi
it is the js.swf bug.i replace the js.swc use the 7,it is work good.
can you give me your js.swc?

and i give you my js.swc?



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs0-8-vector-and-object-bug-tp55262p55324.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: flexjs0.8 vector and object,bug

2016-09-25 Thread lizhi
bcs not have many flexjs user,also not many spriteflexjs user of flexjs user.
and some of work be tested,this but not with all the flexjs user.
and someone use the ant or mvn,not bat.
so pls try my command line in windows.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs0-8-vector-and-object-bug-tp55262p55318.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: flexjs0.8 vector and object,bug

2016-09-25 Thread lizhi
you are developing on mac?
do you have a win system?
pls give a try on win.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs0-8-vector-and-object-bug-tp55262p55316.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: how remove numcheck

2016-09-25 Thread lizhi
pls add a option.
it is hard to add all as Number on my code



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/how-remove-numcheck-tp55279p55313.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: flexjs0.8 vector and object,bug

2016-09-25 Thread lizhi
my pc do not have FALCON_HOME.

and the old flexjs worker good.

0.7 work good.




--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs0-8-vector-and-object-bug-tp55262p55310.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: how remove numcheck

2016-09-25 Thread lizhi
i have add the -js-output-optimization=skipAsCoercions,and the number() are
there.

and float32array and vector no need the number(float32array[i])



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/how-remove-numcheck-tp55279p55308.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: how remove numcheck

2016-09-24 Thread lizhi
why try check the float32array and vector?it is must number。no need as number

发自我的iPhone

-- Original --
From: Alex Harui [via Apache Flex Development] 

Date: 周五,9月 23,2016 23:44
To: lizhi 
Subject: Re: how remove numcheck



 

On 9/23/16, 8:20 AM, "lizhi" <[hidden email]> wrote: 

>and the js is a simple lang ,no need the same of flashruntime.simple is 
>good 

Many folks have a different opinion.  Their code may be counting on 
implicit type conversions. 

We have provided several options to control output.  Besides 
@flexjsignorecoercion, which should also work at the file level (but there 
might be a bug there), there are new mxmlc options like 
-js-output-optimization=skipAsCoercions which will ignore EVERY "as" 
coercion in your code. 

HTH, 
-Alex 

 
 
 
  If you reply to this email, your message will be added to the discussion 
below:
 
http://apache-flex-development.247.n4.nabble.com/how-remove-numcheck-tp55279p55297.html
 
  To unsubscribe from how remove numcheck, click here.
 NAML



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/how-remove-numcheck-tp55279p55306.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: AW: flexjs0.8 vector and object,bug

2016-09-23 Thread lizhi
and the command line is the base.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs0-8-vector-and-object-bug-tp55262p55303.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: AW: flexjs0.8 vector and object,bug

2016-09-23 Thread lizhi
not eaveyone have mvn,and everyone have command line.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs0-8-vector-and-object-bug-tp55262p55302.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: flexjs0.8 vector and object,bug

2016-09-23 Thread lizhi
D:\proj\git\spriteflexjs\test\src>set FLEX_HOME=d:/sdk/flexjs

D:\proj\git\spriteflexjs\test\src>d:/sdk/flexjs/js/bin/mxmlc
-external-library-p
ath="d:/sdk/flexjs\js\libs\js.swc" VectorObject.as
Using Flex SDK: d:/sdk/flexjs
D:\proj\git\spriteflexjs\test\src\VectorObject.as:12
从类型 Vector. 的值到不相关类型 Object 之间的隐式强制转换。
funa(vec);
 ^




--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs0-8-vector-and-object-bug-tp55262p55301.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: flexjs0.8 vector and object,bug

2016-09-23 Thread lizhi
but i and a lot of man have this bug

发自我的iPhone

-- Original --
From: Alex Harui [via Apache Flex Development] 

Date: 周五,9月 23,2016 23:48
To: lizhi 
Subject: Re: flexjs0.8 vector and object,bug



 On 9/22/16, 11:42 PM, "lizhi" <[hidden email]> wrote: 

>can you try download new sdk use the apache flexsdk install .with apache 
>flexjs nightly? 
>the %args% is empty 

I downloaded the nightly and I cannot reproduce this problem. 


-Alex 

 
 
 
  If you reply to this email, your message will be added to the discussion 
below:
 
http://apache-flex-development.247.n4.nabble.com/flexjs0-8-vector-and-object-bug-tp55262p55298.html
 
  To unsubscribe from flexjs0.8 vector and object,bug, click here.
 NAML



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs0-8-vector-and-object-bug-tp55262p55299.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: how remove numcheck

2016-09-23 Thread lizhi
and the js is a simple lang ,no need the same of flashruntime.simple is good

发自我的iPhone

-- Original --
From: Alex Harui [via Apache Flex Development] 

Date: 周五,9月 23,2016 23:13
To: lizhi 
Subject: Re: how remove numcheck



 

On 9/22/16, 11:56 PM, "lizhi" <[hidden email]> wrote: 

>the float32array also has this issue. 
>and the Number() are slow in loop 

I could be wrong, but I'm pretty sure the compiler should try to insert a 
coercion there, because otherwise the JS code would behave differently 
than the AS code if there were strings in the array. 

The FalconJX compiler allows certain "directives" like 
@flexjsignorecoercion to control coercions since they can be wasteful. 
The following: 

/** 
 * @flexjsignorecoercion Number 
 */ 
public function numberarr():void 
{ 
  var arr:Array; 
  var n:Number; 
  n = arr[0] as Number; 
 
} 

was cross-compiled to: 

/** 
 * @flexjsignorecoercion Number 
 * @export 
 */ 
VectorObject.prototype.numberarr = function() { 
  var /** @type {Array} */ arr; 
  var /** @type {number} */ n; 
  n = arr[0]; 
}; 

Isn't that what you want? 


-Alex 


 
 
 
  If you reply to this email, your message will be added to the discussion 
below:
 
http://apache-flex-development.247.n4.nabble.com/how-remove-numcheck-tp55279p55292.html
 
  To unsubscribe from how remove numcheck, click here.
 NAML



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/how-remove-numcheck-tp55279p55294.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: how remove numcheck

2016-09-23 Thread lizhi
or add a new @xxx.

发自我的iPhone

-- Original --
From: Alex Harui [via Apache Flex Development] 

Date: 周五,9月 23,2016 23:13
To: lizhi 
Subject: Re: how remove numcheck



 

On 9/22/16, 11:56 PM, "lizhi" <[hidden email]> wrote: 

>the float32array also has this issue. 
>and the Number() are slow in loop 

I could be wrong, but I'm pretty sure the compiler should try to insert a 
coercion there, because otherwise the JS code would behave differently 
than the AS code if there were strings in the array. 

The FalconJX compiler allows certain "directives" like 
@flexjsignorecoercion to control coercions since they can be wasteful. 
The following: 

/** 
 * @flexjsignorecoercion Number 
 */ 
public function numberarr():void 
{ 
  var arr:Array; 
  var n:Number; 
  n = arr[0] as Number; 
 
} 

was cross-compiled to: 

/** 
 * @flexjsignorecoercion Number 
 * @export 
 */ 
VectorObject.prototype.numberarr = function() { 
  var /** @type {Array} */ arr; 
  var /** @type {number} */ n; 
  n = arr[0]; 
}; 

Isn't that what you want? 


-Alex 


 
 
 
  If you reply to this email, your message will be added to the discussion 
below:
 
http://apache-flex-development.247.n4.nabble.com/how-remove-numcheck-tp55279p55292.html
 
  To unsubscribe from how remove numcheck, click here.
 NAML



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/how-remove-numcheck-tp55279p55295.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: how remove numcheck

2016-09-23 Thread lizhi
it is need too many code,matrix3d.as rawdata 100+as number.and the 
float32array,and vector no need the check

发自我的iPhone

-- Original --
From: Alex Harui [via Apache Flex Development] 

Date: 周五,9月 23,2016 23:13
To: lizhi 
Subject: Re: how remove numcheck



 

On 9/22/16, 11:56 PM, "lizhi" <[hidden email]> wrote: 

>the float32array also has this issue. 
>and the Number() are slow in loop 

I could be wrong, but I'm pretty sure the compiler should try to insert a 
coercion there, because otherwise the JS code would behave differently 
than the AS code if there were strings in the array. 

The FalconJX compiler allows certain "directives" like 
@flexjsignorecoercion to control coercions since they can be wasteful. 
The following: 

/** 
 * @flexjsignorecoercion Number 
 */ 
public function numberarr():void 
{ 
  var arr:Array; 
  var n:Number; 
  n = arr[0] as Number; 
 
} 

was cross-compiled to: 

/** 
 * @flexjsignorecoercion Number 
 * @export 
 */ 
VectorObject.prototype.numberarr = function() { 
  var /** @type {Array} */ arr; 
  var /** @type {number} */ n; 
  n = arr[0]; 
}; 

Isn't that what you want? 


-Alex 


 
 
 
  If you reply to this email, your message will be added to the discussion 
below:
 
http://apache-flex-development.247.n4.nabble.com/how-remove-numcheck-tp55279p55292.html
 
  To unsubscribe from how remove numcheck, click here.
 NAML



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/how-remove-numcheck-tp55279p55293.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: how remove numcheck

2016-09-23 Thread lizhi
the float32array also has this issue.
and the Number() are slow in loop



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/how-remove-numcheck-tp55279p55287.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: flexjs0.8 vector and object,bug

2016-09-22 Thread lizhi
can you try download new sdk use the apache flexsdk install .with apache
flexjs nightly?
the %args% is empty



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs0-8-vector-and-object-bug-tp55262p55285.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: how remove numcheck

2016-09-22 Thread lizhi
is it other way?

this var n:number = arr[i];
look good

but the as Number not too good.

or other option?



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/how-remove-numcheck-tp55279p55284.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: flexjs0.8 vector and object,bug

2016-09-22 Thread lizhi
it is this ok?

%FLEX_HOME%/js/bin/mxmlc %ARGS%
-external-library-path="%FLEX_HOME%\js\libs\js.swc" VectorObject.as



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs0-8-vector-and-object-bug-tp55262p55281.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


how remove numcheck

2016-09-22 Thread lizhi
as code

for (var i:int = 0; i < 1;i++ ){
var a:Number = arr[0]
}


js code

for (var /** @type {number} */ i = 0; i < 1; i++) {
var /** @type {number} */ a = Number(this.arr[0]);
  }

and how remove the Number(this.arr[0]);

this good,but not good in loop



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/how-remove-numcheck-tp55279.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: flexjs0.8 vector and object,bug

2016-09-22 Thread lizhi
set FLEX_HOME=d:/sdk/flexjs
start %FLEX_HOME%/js/bin/mxmlc %ARGS%
-external-library-path="%FLEX_HOME%\js\libs\js.swc"
-compiler.source-path=../src src/VectorObject.as

pls try this.in js.swc must include.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs0-8-vector-and-object-bug-tp55262p55277.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: flexjs0.8 vector and object,bug

2016-09-22 Thread lizhi
%FLEX_HOME%/js/bin/mxmlc %ARGS%
-external-library-path="%FLEX_HOME%\js\libs\js.swc"
-compiler.source-path=../src %main% -define=CONFIG::as_only,false
-define=CONFIG::js_only,true
i use the nightly build.
i and @elseswitch  all get the error



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs0-8-vector-and-object-bug-tp55262p55275.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: flexjs0.8 vector and object,bug

2016-09-22 Thread lizhi
what version sdk you are using.
pls look at the end image
https://github.com/matrix3d/spriteflexjs/issues/9#issuecomment-249097135



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs0-8-vector-and-object-bug-tp55262p55273.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: flexjs0.8 vector and object,bug

2016-09-22 Thread lizhi
is it not clear?get a simple.

functoin funa(o:Object):void{
}

var vec:Vector.=Vector.([]);
funa(vec);

get build error.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs0-8-vector-and-object-bug-tp55262p55271.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


flexjs0.8 vector and object,bug

2016-09-21 Thread lizhi
this work good with flexj0.7

public function setProgramConstantsFromVectorGL(name:String,
data:Vector., numRegisters:int = -1):void
{
gl.uniform4fv(getUniformLocation(name), data);
}

从类型 Vector. 的值到不相关类型 Object 之间的隐式强制转换。
gl.uniformMatrix4fv(getUniformLocation(name), false, 
matrix.rawData);



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs0-8-vector-and-object-bug-tp55262.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: 回复: flexjs error output,and flashdevelop

2016-09-19 Thread lizhi
thanks,is it this ok https://issues.apache.org/jira/browse/FLEX-35133?



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs-error-output-and-flashdevelop-tp55212p55240.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: 回复: flexjs error output,and flashdevelop

2016-09-19 Thread lizhi
this will good with col
D:\proj\my\engine\tools\tools3d\src\ToolsMain.as(26): col: 8 Warning:
variable 'a' has no type declaration.


D:\proj\my\engine\tools\tools3d\src\ToolsMain.as(26): col: 4 Error: Access
of undefined property a.
a
^



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs-error-output-and-flashdevelop-tp55212p55229.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: 回复: flexjs error output,and flashdevelop

2016-09-19 Thread lizhi
it is in one line.
and with ":" after numline "8"
and with "error:" string.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs-error-output-and-flashdevelop-tp55212p55228.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: 回复: flexjs error output,and flashdevelop

2016-09-19 Thread lizhi
now the flexjs output.

D:\proj\git\spriteflexjs\test\src\Main.as:8
所访问的属性 aaa 可能未定义。
aaa
^


and my like.

D:\proj\git\spriteflexjs\test\src\Main.as:8: Error: 所访问的属性 "aaa" 可能未定义。



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs-error-output-and-flashdevelop-tp55212p55227.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: flexjs ,pack full folder in a js.

2016-09-19 Thread lizhi
and my code not the same as createjs.
my code is baseon "flash api",so need remove-circulars.

and the createjs is pure js project.so not have the bug.




--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs-pack-full-folder-in-a-js-tp55085p55225.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: flexjs ,pack full folder in a js.

2016-09-19 Thread lizhi
maybe i will try not use the compc.
and use the mxmlc.and try include all class in main file. 

the cmopc,and gcc ,can not get the js file i want.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs-pack-full-folder-in-a-js-tp55085p55223.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: flexjs ,pack full folder in a js.

2016-09-19 Thread lizhi
so,can not get the js file ,as createjs.




--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs-pack-full-folder-in-a-js-tp55085p55222.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: flexjs ,pack full folder in a js.

2016-09-18 Thread lizhi
maybe pack the js need some option.it is the diff of mxmlc use and my custom
option

java -jar %FLEX_HOME%\js\lib\google\closure-compiler\compiler.jar --js
bin\js-swc --js
%FLEX_HOME%\frameworks\js\FlexJS\generated-sources\org\apache\flex\utils\Language.js
--js %FLEX_HOME%\js\lib\google\closure-library\closure\goog\base.js
--compilation_level SIMPLE_OPTIMIZATIONS --js_output_file
SpriteFlexjsMain.js


but i can not get the option,i have look at the flexjs code
JSClosureCompilerWrapper.java and MXMLFlexJSPublisher.java.
but i can not debug it,and get the full string.
can you give me the closure-compiler "full string" of this mxmlc

set ARGS=-remove-circulars -js-compiler-option="--compilation_level
SIMPLE_OPTIMIZATIONS"
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



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs-pack-full-folder-in-a-js-tp55085p55220.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: 回复: flexjs error output,and flashdevelop

2016-09-18 Thread lizhi
pls look at the image there
https://github.com/fdorg/flashdevelop/issues/1212

not the flexjs output can not putin the fd result panel.

but the 2nd image format can put in the result panel

the 1st image look good,but can not work with flashdevelop.

pls just change the format.

thanks



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs-error-output-and-flashdevelop-tp55212p55218.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: flexjs ,pack full folder in a js.

2016-09-18 Thread lizhi
function JSCompiler_emptyFn() { 
return function () {} 

} 
function JSCompiler_set(a) { 
return function (b) { 
this[a] = b 
} 
} 
function JSCompiler_get(a) { 
return function () { 
return this[a] 
} 
} 
function JSCompiler_returnArg(a) { 
return function () { 
return a 
} 
}

This code is generated by mxmlc , this code is not included in any of my
code , I do not know where they come from , then this code is also very
important , can solve the problem .

About one minute you can not load because not too big, but being given . The
question now is why the error. Because less than mysterious codes



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs-pack-full-folder-in-a-js-tp55085p55215.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


回复: flexjs error output,and flashdevelop

2016-09-17 Thread lizhi
can you see in image?this format in output will in the results panels




-- 原始邮件 --
发件人: "Alex Harui [via Apache Flex 
Development]"; 
发送时间: 2016年9月18日(星期天) 中午1:43
收件人: "lizhi"; 
主题: Re: flexjs error output,and flashdevelop



I'm not clear what is line 8. 

On 9/17/16, 9:24 PM, "lizhi" <[hidden email]> wrote: 

>this format will support by flashdevelop 
>D:\proj\git\spriteflexjs\test\src\Main.as:8: Error 所访问的属性 aaa 可能未定义。 
>and this format is a a lot of format.in a line 
> 
> 
> 
> 
>https://issues.apache.org/jira/browse/FLEX-35133
> 
> 
> 
>-- 
>View this message in context: 
>http://apache-flex-development.247.n4.nabble.com/flexjs-error-output-a
>nd-flashdevelop-tp55207.html 
>Sent from the Apache Flex Development mailing list archive at Nabble.com. 




If you reply to this email, your message will be added 
to the discussion below:

http://apache-flex-development.247.n4.nabble.com/flexjs-error-output-and-flashdevelop-tp55207p55210.html

To unsubscribe from flexjs error 
output,and flashdevelop, click here.
NAML

4c544...@2087c95e.872dde57.jpg (121K) 
<http://apache-flex-development.247.n4.nabble.com/attachment/55212/0/4C544D36%402087C95E.872DDE57.jpg>




--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs-error-output-and-flashdevelop-tp55212.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: flexjs ,pack full folder in a js.

2016-09-17 Thread lizhi
it is not too much to analyze.

i simple remove some block.and the jsCompiler_set,_get etc,can not find in
the compc version.pls search in the 2 file.

the JSCompiler_set can find a lot in mxmlc version.
and can not find in compc version

'use strict'; 
var $$S_ = '', $$S_$9 = '\t', $$S_$a = '\n', $$S_$a$2f$2f$23$20sourceURL$3d
= '\n//# sourceURL\x3d', 
.._write = 'write'; 
function JSCompiler_emptyFn() { 
return function () {} 

} 
function JSCompiler_set(a) { 
return function (b) { 
this[a] = b 
} 
} 
function JSCompiler_get(a) { 
return function () { 
return this[a] 
} 
} 
function JSCompiler_returnArg(a) { 
return function () { 
return a 
} 
}



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs-pack-full-folder-in-a-js-tp55085p55211.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: flexjs ,pack full folder in a js.

2016-09-17 Thread lizhi
maybe the -remove-circulars of mxmlc not work with compc?



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs-pack-full-folder-in-a-js-tp55085p55208.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


flexjs error output,and flashdevelop

2016-09-17 Thread lizhi
this format will support by flashdevelop
D:\proj\git\spriteflexjs\test\src\Main.as:8: Error 所访问的属性 aaa 可能未定义。
and this format is a a lot of format.in a line




https://issues.apache.org/jira/browse/FLEX-35133



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs-error-output-and-flashdevelop-tp55207.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: flexjs ,pack full folder in a js.

2016-09-17 Thread lizhi
and f12 this code
http://s.codepen.io/matrix3d/debug/XjKQVW

have a error



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs-pack-full-folder-in-a-js-tp55085p55206.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: flexjs ,pack full folder in a js.

2016-09-17 Thread lizhi
thanks.
can you look at the 2 code?

1 . create by mxmlc
http://codepen.io/matrix3d/pen/jrARaX
http://s.codepen.io/matrix3d/debug/jrARaX

2. create by compc
http://codepen.io/matrix3d/pen/XjKQVW
http://s.codepen.io/matrix3d/debug/XjKQVW

and the mxmlc version have this code.why compc not have
'use strict';
var $$S_ = '', $$S_$9 = '\t', $$S_$a = '\n', $$S_$a$2f$2f$23$20sourceURL$3d
= '\n//# sourceURL\x3d', $$S_$a$3breturn$20_exports$7d$29$3b$a_d8616c1a =
'\n;return exports});\n//# sourceURL\x3d', $$S_$20 = ' ',
$$S_$20onreadystatechange$3d_fa389f22 = "
onreadystatechange\x3d'goog.onScriptLoad_(this, ",
$$S_$20out$20of$20_bounds$20$5b_0$2c$20$2e_3c443509 = ' out of bounds [0,
..., 3]', $$S_$20requires$20transpilat_9f215c27 = ' requires transpilation
but no transpiler was found.', $$S_$22 = '"', $$S_$22$2c$20 = '", ',
$$S_$22$3e$3c$2fscript$3e =
'"\x3e\x3c/script\x3e',
$$S_$28$28$29$3d$3e$7b$22use$20strict$22$3b_c_a0ce3419 = '(()\x3d\x3e{"use
strict";class X{constructor(){if(new.target!\x3dString)throw
1;this.x\x3d42}}let q\x3dReflect.construct(X,[],String);if(q.x!\x3d42||!(q
instanceof String))throw 1;for(const a
of[2,3]){if(a\x3d\x3d2)continue;function f(z\x3d{a}){let a\x3d0;return
z.a}{function f(){return 0;}}return f()\x3d\x3d3}})()',
$$S_$28$28$29$3d$3e$7b$22use$20strict$22$3bl_e7222c4b = '(()\x3d\x3e{"use
strict";let a\x3d{};const X\x3dclass{constructor(){}x(z){return new
Map([...arguments]).get(z[0])\x3d\x3d3}};return new X().x([a,3])})()',
$$S_$28_a$3d = '(a\x3d', $$S_$28redMultiplier$3d = '(redMultiplier\x3d',
$$S_$28x$3d = '(x\x3d', $$S_$29 = ')', $$S_$29$27$20 = ")' ", $$S_$29$3b =
');', $$S_$2c = ',', $$S_$2c$20 = ', ', $$S_$2c$20_alphaMultiplier$3d = ',
alphaMultiplier\x3d', $$S_$2c$20_alphaOffset$3d = ', alphaOffset\x3d',
$$S_$2c$20_b$3d = ', b\x3d', $$S_$2c$20_blueMultiplier$3d = ',
blueMultiplier\x3d', $$S_$2c$20_blueOffset$3d = ', blueOffset\x3d',
$$S_$2c$20_c$3d = ', c\x3d', $$S_$2c$20_d$3d = ', d\x3d',
$$S_$2c$20greenMultiplier$3d = ', greenMultiplier\x3d',
$$S_$2c$20greenOffset$3d =
', greenOffset\x3d', $$S_$2c$20h$3d = ', h\x3d', $$S_$2c$20redOffset$3d 
=
', redOffset\x3d', $$S_$2c$20tx$3d = ', tx\x3d', $$S_$2c$20ty$3d = ',
ty\x3d', $$S_$2c$20w$3d = ', w\x3d', $$S_$2c$20y$3d = ', y\x3d', $$S_$2d =
'-', $$S_$2e = '.', $$S_$2e$2e = '..', $$S_$2f = '/', $$S_2d = '2d',
$$S_$3c$2fscript$3e = '\x3c/script\x3e',
$$S_$3cscript$20type$3d$22text$2fj_8baade59 = '\x3cscript
type\x3d"text/javascript" src\x3d"',
$$S_$3cscript$20type$3d$22text$2fj_7a250e04 = '\x3cscript
type\x3d"text/javascript"\x3e', $$S_$3e$3c$2fscript$3e =
'\x3e\x3c/script\x3e',
$$S_$3f = '?', $$S_BY$5fWHOLE = 'BY_WHOLE', $$S_Error$2c$20Column$20 =
'Error, Column ', $$S_Event = 'Event', $$S_JavaScript = 'JavaScript',
$$S_KeyboardEvent = 'KeyboardEvent', $$S_MouseEvent = 'MouseEvent',
$$S_SCRIPT = 'SCRIPT', $$S_SpriteFlexjs = 'SpriteFlexjs',
$$S_SpriteFlexjsMain = 'SpriteFlexjsMain', $$S_TEXTURE = 'TEXTURE',
$$S_TouchEvent = 'TouchEvent', $$S_Type$20Coercion$20_failed = 'Type
Coercion failed', $$S_Vector3D$28 = 'Vector3D(',
$$S_$5b_1$2c$5d$2elength$21$3d_1 = '[1,].length!\x3d1',
$$S_$5bobject$20Array$5d = '[object Array]',
$$S_$5bobject$20Function$5d = '[object Function]', $$S_$5bobject$20Window$5d
= '[object Window]', $$S_$5f$5f_dispatchmouseevent = '__dispatchmouseevent',
$$S_$5f$5f_enterFrame = '__enterFrame', $$S_$5f$5fmouseevent =
'__mouseevent', $$S_$5f$5fupdate = '__update', $$S_$5f_currentTarget =
'_currentTarget', $$S_$5f_doubleClickEnabled = '_doubleClickEnabled',
$$S_$5finterpolationMethod = '_interpolationMethod', $$S_$5fmouseChildren =
'_mouseChildren', $$S_absolute = 'absolute', $$S_altKey = 'altKey',
$$S_always = 'always', $$S_array = 'array',
$$S_attribute$20vec2$20va0$3b_a_a2d1ef5f = 'attribute vec2 va0;attribute
vec4 va1;attribute vec2 va2;varying vec4 vColor;varying vec2 vUV;uniform
mat4 vc0;uniform mat4 vc4;void main(void)
{vColor\x3dva1;vUV\x3d(vc4*vec4(va2,0.0,1.0)).xy;gl_Position
\x3dvc0*vec4(va0, 0.0,1.0);}', $$S_attribute$20vec2$20va0$3b_a_daeb94f0 =
'attribute vec2 va0;attribute vec4 va1;varying vec4 vColor;uniform mat4
vc0;void main(void) {vColor\x3dva1;gl_Position \x3dvc0*vec4(va0,
0.0,1.0);}', $$S_base$2ejs = 'base.js', $$S_bat$20new$20index =
'bat new index', $$S_bat$20new$20pos = 'bat new pos', $$S_boolean =
'boolean', $$S_bubbles = 'bubbles', $$S_buttonDown = 'buttonDown', $$S_call
= 'call', $$S_cancelable = 'cancelable', $$S_canvas = 'canvas',
$$S_canvas$5fkeyevent = 'canvas_keyevent', $$S_canvas$5fmouseevent =
'canvas_mouseevent', $$S_canvas$5ftouchevent = 'canvas_touchevent',
$$S_charCode = 'charCode', $$S_clear = 'clear', $$S_click = 'click',
$$S_clone = 'clone', $$S_complete = 'complete', $$S_contextmenu =
'contextmenu', $$S_copyColumnFrom = 'copyColumnFrom', $$S_copyFrom =
'copyFrom',
$$S_createPath = 'createPath', $$S_ctrlKey = 'ctrlKey', $$S_cubicCurveTo =
'cubicCurveTo', $$S_dblclick = 'dblclick', $$S_delta = 'delta', $$S_dispose
= 'dispose', $$S_draw = 'draw', $$S_drawT

Re: flexjs ,pack full folder in a js.

2016-09-14 Thread lizhi
yes ihave gen the js file.but it is have diffrent of mxmlc ,so maybe the mxmlc 
have some option,can i show you the 2file?help me why diffrent

发自我的iPhone

-- Original --
From: Alex Harui [via Apache Flex Development] 

Date: 周三,9月 14,2016 23:12
To: lizhi 
Subject: Re: flexjs ,pack full folder in a js.



 COMPC is for building libraries.  It does not generate an entry point. 
MXMLC is for building applications. 

So, IMO, you would use COMPC to compile all of your library code and GCC 
to generate a single file, then you will have to build your own index.html 
and main.js that calls into that single file.  You can try using MXMLC to 
generate the index.html and single file, but it will want to output 
goog.requires.  I suppose you can manually edit the results.  You are not 
using the kind of workflow we support, so you will have to manually 
perform some of the steps. 

-Alex 

 
 
 
  If you reply to this email, your message will be added to the discussion 
below:
 
http://apache-flex-development.247.n4.nabble.com/flexjs-pack-full-folder-in-a-js-tp55085p55145.html
 
  To unsubscribe from flexjs ,pack full folder in a js., click here.
 NAML



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs-pack-full-folder-in-a-js-tp55085p55147.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: flexjs ,pack full folder in a js.

2016-09-14 Thread lizhi
and it is not the have error,build with mxmlc.
it is diff compc and mxmlc? 



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs-pack-full-folder-in-a-js-tp55085p55143.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: flexjs ,pack full folder in a js.

2016-09-14 Thread lizhi
oh yes,need add --js goog\base.js

but.

SpriteFlexjsMain.js:formatted:656Uncaught TypeError: Cannot read property
'prototype' of undefined
indexjsmin.html:11 Uncaught TypeError: SpriteFlexjsMain is not a constructor



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs-pack-full-folder-in-a-js-tp55085p55142.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: flexjs ,pack full folder in a js.

2016-09-14 Thread lizhi
thanks agine.

i have gen the js file success.

but runing get this error

SpriteFlexjsMain.js:5 Uncaught ReferenceError: goog is not defined
indexjsmin.html:11 Uncaught TypeError: SpriteFlexjsMain is not a
constructor.

and i see the js file,not find the goog.

how ememd the goog cdoe



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs-pack-full-folder-in-a-js-tp55085p55141.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: flexjs ,pack full folder in a js.

2016-09-13 Thread lizhi
thanks agine.
and can you give me the option bat used by mxmlc.
i get a lot of error
bin/js-swc/flash/media/SoundMixer.js:80: WARNING - The @expose annotation is
dep
recated. Use @nocollapse or @export instead.
useSpeakerphoneForVoice: {



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs-pack-full-folder-in-a-js-tp55085p55139.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: flexjs ,pack full folder in a js.

2016-09-13 Thread lizhi
thanks a lot.
but i get this error.
D:\proj\git\spriteflexjs\test>java -jar
d:/sdk/flexjs\js\lib\google\closure-comp
iler\compiler.jar --js bin\js-swc --js
d:/sdk/flexjs\frameworks\js\FlexJS\genera
ted-sources
ERROR - Circular dependency detected: org.apache.flex.html.Slider ->
org.apache.
flex.html.beads.controllers.SliderMouseController ->
org.apache.flex.html.Slider


1 error(s), 0 warning(s)

is it not work with compc of the -remove-circulars?
it is work with mxmlc



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/flexjs-pack-full-folder-in-a-js-tp55085p55136.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


  1   2   3   >