I don't follow. Your time remapping doesn't have any keyframes other than the two default ones, so it is utterly pointless to even use the expression and the (rather questionable) tutorial doesn't even suggest how you did it. You need to have a second look.
I am not sure I follow. I am just trying to get a simple animation to repeat, I tried following the tutorial - but the end result didn't work as intended. Based on what I posted, what did I do wrong, and how do I get the "Press Start" animation to continuously cycle through its animation? If the tutorial is no good - I am not opposed to using another method.
If you want an animation to loop using time remapping do this:
- Create your animated comp with the last state of all elements exactly the same on frame 0 and the last frame
- Go to the last frame and move back one frame
- Set the comp area to the current time (one frame before the matching frames)
- Trim the comp to the work area
- Nest the comp in a new comp long enough to see your loop
- Enable Time remapping on the nested comp
- Use the K key to move to the last keyframe of time remapping
- Move the CTI back one frame and set a new keyframe for time remapping
- Delete the last keyframe and extend the out point of the layer so you can see the looping animation
- Add this expression loopOut();
You are done.
The reason you have to move back one frame in step 2 is so that you don't repeat the position or properties in the loop.
The reason that you have to move back one frame in step 8 and delete the last keyframe in step 9 is that the last keyframe is the end of the layer's time not the last visible frame of the layer. If you don't delete the last keyframe you'll have an empty frame in your loop.
You don't need any info in the parentheses because cycle all keyframes is the default. You can't see a loop because your work area and your comp are apparently the same length as the comp so there's nothing to see. The expression doesn't make the comp repeat, it loops the layer so you have to extend the out point to see the loop.
BTW, there's plenty of good info and some better tutorials on looping time remapping in the help files. You can find them by typing time remapping loop in the search help field at the top right corner of AE. I've been using the app since it was invented more than 20 years ago and the Search Help field has been my favorite feature since it was introduced. I use it about once a week to check for new techniques or find things that I have forgotten. It's much more effective than Google.