character doesn't move with platform

I'm trying to make a solid platform that moves up and down that my character can land on. I've created the platform and animated it with the Tween class so it moves up and down. If my character lands on it while it's moving upwards the character sinks into the platform and eventually passes through it. It's as though the platform moves upwards but doesn't push the character upwards with it. The character can ride it down ok, just not upwards.

I've also noticed that if I make the platform move horizontally, I can jump on it but the character doesn't move along with the platform. Instead the platform continues sliding out from under the character while the character stays still but the character won't continue falling until I make them move. I've tried various bodyTypes on the platform and adjusted the friction to no effect.

What do I have to do to make this work properly?
tween... is that Flash? How does it control the platform exactly?
If it is setting the velocity directly (via SetTransform) you might see things like this.
The ideal way for a platform, at least if it moves in a straight line, would be to use a prismatic joint with a motor and change the motor direction.

Original thread: https://box2d.org/forum/viewtopic.php?t=7684