Try this instead:
CCMoveTo::actionWithDuration(actualDuration, ccp(-target->getContentSize().width/2, actualY)),
What “id” is depends on the context. The CCMoveTo action could be represented by a CCFiniteTimeAction (which is the argument for CCSequence::actions), for example.
You can find more examples in the “tests” program, it’s all in there (open Visual Studio or your favorite IDE and search for “CCSequence::actions” in the current solution to get a list of all relevant files).
Also, don’t forget to terminate the list of actions with a null pointer (nil in Objective-C, in C++ usually written as 0l, 0 or NULL).