mrkarate Posted June 24, 2015 Share Posted June 24, 2015 hi, this is weird, but I add a sprite to the loader bar, (first load texture, when texture it's loaded I create sprite var, and when sprite width/height is correct detected (on the first frame it's show 1), then I add to stage, and everything it's ok, the problem it's before that I do: this.logo.interactive = true;this.logo.buttonMode = true; this.logo.click = this.logo.touchstart = this.clickLogo.bind(this); but the function clickLogo never call, clickLogo:function() { alert("QQQQ") window.open('MY LINK!!!/'); }, all other links on my game works, so, is there some problem to call events on loader? (I make this code on the loader.js class, and swapChildren my logo for the barFg, so this way the bar is over my logo. thanks! EDIT: I forgot to mention, no debugs errors at all, just the event's don't fired Quote Link to comment Share on other sites More sharing options...
enpu Posted June 27, 2015 Share Posted June 27, 2015 This is fixed on 2.0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.