Error while calling getPercentageTransparent method of CCRendureTexture class in android(Eclipse)

Hi,
I am working on scratcher application. I have used method “getPercentageTransparent” method of class CCRenduretexture. It is working fine in iphone (XCode) but when i run this code on Eclipse it gives me the error stating that “cocos2d::CCRendureTexture class has no method named getPercentageTransparent”. Could you please tell me that what is the exact problem and what is it’s solution?
Thanks,

What’s your cocos2d-x version?
I didn’t see the method getPercentageTransparent in CCRenderTexture class.

Hi, thanks for the reply. I think i have an older version. What is the equivalent method of “CCRendureTexture::getPercentageTransparent” in latest version of cocos2dx?

Thanks

An older version??
Which version?
I coundn’t find getPercentageTransparent in cocos2d-x 1.0.x too.

James Chen wrote:

An older version??
Which version?
I counldn’t find getPercentageTransparent in cocos2d-x 1.0.x too.

James Chen wrote:

James Chen wrote:
> An older version??
> Which version?
> I couldn’t find getPercentageTransparent in cocos2d-x 1.0.x too.