[solved] Need help with animation

As the title says I need help with the animation part of Xion.
I wonder how I can make it so the animation stops when pressing pause, starts when pressing Play and Resets when pressing Stop.
I have read the Layer reference page, but I cant seem to get it right...
What I have tried is to name the layers like this:
animation animtype(0) direction(1) delay(15) [<- This is a group with the animation inside]
animation animtype(0) direction(1) delay(10) [<- So is this]
play_over modify(animation) action_anim_play
play_normal modify(animation) action_anim_play
play_stop modify(animation) action_anim_play
pause_over modify(animation) action_anim_stop
...
stop_over modify(animation) action_anim_reset
I want the pause, Play and Stop buttons to do the same on both animations...
The animation itself is working, but its the part to stop it an reset it I cant get to work
-krt16-
I wonder how I can make it so the animation stops when pressing pause, starts when pressing Play and Resets when pressing Stop.
I have read the Layer reference page, but I cant seem to get it right...
What I have tried is to name the layers like this:
animation animtype(0) direction(1) delay(15) [<- This is a group with the animation inside]
animation animtype(0) direction(1) delay(10) [<- So is this]
play_over modify(animation) action_anim_play
play_normal modify(animation) action_anim_play
play_stop modify(animation) action_anim_play
pause_over modify(animation) action_anim_stop
...
stop_over modify(animation) action_anim_reset
I want the pause, Play and Stop buttons to do the same on both animations...
The animation itself is working, but its the part to stop it an reset it I cant get to work
-krt16-