Swallowing - you can do it with animation, create a sequence of frames where the enemy is getting smaller. Run this animation and move enemy towards the player with bullet behavior. At the end of animation, destroy the enemy.
Or use Sine behavior to change scale.
Or you can do something like this:
For x=1 to 10
Wait loopindex*0.1
enemy Set Scale to (1-loopindex/10)
enemy Move at angle (angle(enemy.x, enemy.y, player.x, player.y)) distance (10)
[/code:2tfq2ixj]
It's just a random example, you may need different values for wait, distance etc.
Spitting - you can simply create a smaller clone of enemy sprite, add Bullet behavior and shoot it as any other bullet.
(see Shooter sample projects in C2)