Well the new api for Cocos Studio 2.1 json format is
// nodeAndAction is something like: {node: cc.Node, action: cc.Action}
var nodeAndAction = ccs.load(file);
// play the entire timeline (from my old code may have changed)
nodeAndAction.node.runAction (nodeAndAction.action);
nodeAndAction.action.gotoFrameAndPlay (0, nodeAndAction.action.getDuration(), false);
// show node in the current scene, you may whant use a local scene
// variable insted of get it from cc.director
cc.director.getRunningScene ().addChild (nodeAndAction.node);
You are using the api for Cocos Studio 1.6 if i not mistaken.
I can load my timeline animation like you suggest and have it play continuously. But when I try to play it just one time at a specific (later) moment I get this error:
If you are on windows or mac i suggest that you open the runtime project with vs or xcode run it on debug, then start a remote debug session in cocos ide so you can debug both the js and the native c++. maybe you can figure out whats happening.