cocos2d-js 和jquery 的混合使用

在jquery 环境中使用cocos2d-js 的函数会报错,请教该怎么在jquery 环境中使用cocos2d-js 的函数


$(document).ready(function(){  $("p").click(function(){
 this.jiantou3 = new cc.Sprite("#ui_btn_home_zuoyoujiantou0001.png");
 this.jiantou3.x=350;
 this.jiantou3.y=200;

 
this.addChild(this.jiantou3, 1); //这里报错
   });});





this.addchild 函数会报错“Uncaught TypeError: this.addChild is not a function”

已解决,和这个帖子的问题一样
http://www.cocoachina.com/bbs/read.php?tid-302199-fpage-4.html

use jQuery
貌似无法在ANDROID 正常执行哦…