Xion Audio Player

[solved] Need help with animation

Skinning Questions, Suggestions and Ideas

Postby krt16 » September 18th, 2009, 3:14 am

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-
krt16
Xion Supporter
 
Posts: 8
Joined: September 9th, 2009, 10:49 pm

Postby krt16 » September 18th, 2009, 3:43 am

Okay... now Im feeling kinda stupid as I figured it out and that the only thing I was missing was that darn id(x) in the animation group=_="

Then I guess this thread was kinda unnecessary... Sorry for that:P

-krt16-
krt16
Xion Supporter
 
Posts: 8
Joined: September 9th, 2009, 10:49 pm

Postby Lance » September 18th, 2009, 4:00 am

Haha, no probs man. The simplist things are the easiest to miss.

Peace, Lance
I made the Xion Default skin. Ask me questions and stuff.

DeviantArt
User avatar
Lance
Xion Fan
 
Posts: 402
Joined: April 10th, 2008, 12:07 pm
Location: East Yorkshire, England

Postby SLoB » September 18th, 2009, 6:23 pm

The thread isn't pointless,you posted your solution which was not immediately visible to you, some others may benefit from it further downline, so the thread stays ;)
User avatar
SLoB
Xion Junkie
 
Posts: 1340
Joined: September 11th, 2006, 9:21 pm
Location: UK

Return to General Skin Discussion

Who is online

Users browsing this forum: No registered users and 13 guests

cron