css - JavaScript Objects are shown only the page is refreshed -
i creating game html5 , using framework easeljs. compiler shows no errors , able play game not objects (images) shown on stage. images loaded stage shown if refresh page once. also, images shown not positioned programmed them positioned. programmed position after refresh page once. know using stage updater this:
createjs.ticker.addeventlistener("tick", this.updatestage.bind(this));
if have idea problem please let me know.
thank in advance help!
so figured out how every image on stage. did not used preloader first preload images , add them stage. after creating preloader preloadjs worked fine.
Comments
Post a Comment