I think Alex is right that the problem is your BitmapData.as constructor calls super() yet the BitmapData class does not extend anything. That would explain the TypeError on line 2367 because parentCtor would be undefined.
Try removing this line: https://github.com/matrix3d/spriteflexjs/blob/master/src/flash/display/BitmapData.as#L23 On Tue, May 24, 2016 at 10:04 PM, lizhi <s...@qq.com> wrote: > goog.inherits = function(childCtor, parentCtor) { > /** @constructor */ > function tempCtor() {} > tempCtor.prototype = parentCtor.prototype;//2367 > childCtor.superClass_ = parentCtor.prototype; > childCtor.prototype = new tempCtor(); > /** @override */ > childCtor.prototype.constructor = childCtor; > > this is the base.js 2367 line etc. > > thanks. > > > > -- > View this message in context: > http://apache-flex-development.2333347.n4.nabble.com/why-can-not-open-this-code-tp53169p53200.html > Sent from the Apache Flex Development mailing list archive at Nabble.com. >