/CocosInterpreter

read swfs in cocos2dx

Primary LanguageC++

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();