0

I am trying to use some Adobe animate generated code, but I can't use functions defined in this .js.

 (function (lib, img, cjs, ss) {

var p; // shortcut to reference prototypes

(lib._01AVINSTAMPED = function () {
    this.initialize(img._01AVINSTAMPED);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0, 0, 1024, 768);

What does this "this" refer to ?

EDIT: later call by

this.instance_1 = new lib._01AVINSTAMPED();

I've tried to console.log this and it gave me lib._01AVINSTAMPED {} but I can't call anything related to this outside the .js

ElChapo
  • 198
  • 12

0 Answers0