Cocos Creator Dynamic Change Sprite Picture

First name the outermost folder for storing pictures resources
   changeBj: function(){
    var url = ‘globalUI/video/gVideoPlayClick’; < /span>
    var _this = this; cc.loader.loadRes(url,cc.SpriteFrame,function(err,spriteFrame)
    {  < /span>
      _this.isPlay.spriteFrame = spriteFrame;
     });
< span class="hljs-function">< span class="hlj s-keyword">   } span>

First name the outermost folder that stores the picture resources

< p>   changeBj: function(){

    var url = ‘globalUI/video/gVideoPlayClick’;

    var _this = this; cc.loader.loadRes(url,cc.SpriteFrame,function(err,spriteFrame)

    {  

      _this.isPlay.spriteFrame = spriteFrame;

     });

   }

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 416 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.