Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setInteractive( true ) causes a ReferenceError: stage is not defined #67

Closed
globhammer opened this issue Apr 12, 2013 · 4 comments
Closed

Comments

@globhammer
Copy link

am i doing something wrong here????

var textureList = [];

var max = soul.fileList.length;
trace("the max looks like " + max );

for ( var i = 0; i < max; i++ )
{
var texture = PIXI.Texture.fromImage( soul.fileList[i] );
if ( texture != null ) textureList.push( texture );

}

soul.display = new PIXI.MovieClip( textureList );
soul.display.setInteractive(true);
@GoodBoyDigital
Copy link
Member

Hi @globhammer! Thanks for the heads up!
You are doing nothing wrong and everything right :)
There was an bug that was raised about this a few weeks back and it was patched.
Are you using the latest version of pixi.js?
Thanks!

@globhammer
Copy link
Author

Just updated with the latest
Now seeing this error

PIXI.autoDetectRenderer is not a function

any thoughts?

@GoodBoyDigital
Copy link
Member

hmm.. a strange one, just tested and seem that things are working ok with the current build? Are you correctly importing pixi.js? If you can link me to your project I'd be more than happy to take a look for ya...

@lock
Copy link

lock bot commented Feb 27, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Feb 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants