Skip to content

Latest commit

 

History

History
16 lines (16 loc) · 378 Bytes

File metadata and controls

16 lines (16 loc) · 378 Bytes

CocosInterpreter


Play swfs in cocos2dx
This library can play swf using cocos2dx


Usage:
CCINode * node = CCINode::create("xxxx.swf");
node->setPosition(ccp(size.width / 2, size.height /2));
node->play();
this->addChild(node);

Tips:
Remember to clean when you don't want to use swf
CCIMovie::cleanup();