Skip to main content
Participant
December 16, 2018
Question

Adobe AIR and WebGL with PIXI using HTMLLoader

  • December 16, 2018
  • 1 reply
  • 308 views

Hello,

     I'm trying to see if its possible to make use of WebGL with an html page in AIR. I'm loading through the HTMLLoader class. So far all I can see is a white box. I get the following errors:

SyntaxError: Parse error

app:/HTML5Game/pixi.js : 4442

ReferenceError: Can't find variable: PIXI

I am currently using PIXI, i just want to make sure its possible before i go down the rabbit whole of trying to figure out the parse error.

This topic has been closed for replies.

1 reply

dreko90Author
Participant
December 16, 2018

I am using AIR SDK 32 and FlashPlayer 32

Inspiring
December 18, 2018

Of course it's possible, your error has to do with loading and starting the PIXI framework before actually using it. How are you loading/using it? I suggest working with nodejs and webpack which makes it a lot easier to pack everything and make sure everything loads at the right time.