How to load sprites from sprite atlas with plist in cocos2d-x js?

How to load sprites from sprite atlas with plist in cocos2d-x js?
0.0 0

#1

I am using cocos creator version 1.5.2. I have an image file which contains atlas of 20 frames of animation. and I also have plist file exported with it from adobe animate. I want to play this animation but I couldn’t get it working. I know this is very basic question but I am new to cocos and all the solutions that I have found are related to older version of cocos2d-x. I have tried to cc.loader.loadRes and it is showing me that this is deprecated. I have also tried spriteFramecache but that is also not available in this version I guess. can anyone help me out here? Thanks in advance.