Again, please try to find small test cases that reproduce these bugs. As Harbs showed, details matter. The fact that you were trying to initialize a static variable with a function might matter in these cases.
Thanks, -Alex On 9/5/17, 3:20 AM, "lizhi" <s...@qq.com> wrote: >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: >https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle >x-development.2333347.n4.nabble.com%2F&data=02%7C01%7C%7C41810d8107ec43320 >92708d4f447cfea%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6364020366431 >58863&sdata=dUpacBL0j29OlajHIUGYBbB3feWlvXcY3Y7i3gredTU%3D&reserved=0