List of current running actions

Hi, some ideas for see the list of current running actions? i can see de number of running actions but I need, the names of that actions:
var myNumberRunningAction = this.myNode.getNumberOfRunningActions();//return 3
var myListOfRunningActions = ???// i want return “actionName1”, “actionName2”, “actionName3”

other question:
Exist some way to stopAllActions Except one or two?

Thanks

You can use the cc.node method getActionByTag(tag) .

To set a tag, create a action and use action.setTag(‘my tag’);

When you have the tag you can also use stopActionByTag(tag), or when you have a reference to the action stopAction(action).

Yes, but I don’t know what are my running actions, I want know the names or tag for stop them.

They don’t have names unless you assign one so @araker has the solution.

Also cc.director.getActionManager().pauseAllRunningActions(); gets you the list of targets of the actions in case this is of any help to you.

Some new ideas?