Difference between revisions of "Modern Skin: Drawers"
m (Unprotected "Modern Skin: Drawers")
m (Protected "Modern Skin: Drawers" [edit=autoconfirmed:move=autoconfirmed])
Latest revision as of 14:05, 25 September 2008
Creating a Modern Skin --> Intro --> Winamp 2 to Winamp 3+ --> Simple Skin Tutorial --> XML Intro --> Simple Skin Tutorial (Continued) --> Container --> Group --> Relative Positioning --> Complex Skin --> Non-Rect Player --> Layer Composition --> Alpha Channels --> Animatedlayer --> Snap Points --> Drawers --> Skin Scripting --> Drawer Scripting --> Animating a Skin --> Maki Overview --> Glossary
A Drawer is an animated layer that is normally hidden but can be shown when triggered by a user event (often a mouse click).
Complex Tutorial Modern Skin
In Complex Tutorial, Group #3 shows a triangle that slides out when you click on it. This group demonstrates the concept of a drawer. We will go over the XML code in this section. The script explaination is covered in the next section. Here's the process.
Lets go through in detail how do to each step
Make the Graphics: Rotating Arrow
Define the Elements in the XML Code
Define Layers using those Elements
Making MAKI Script=
Two MAKI scripts function together to create the animations you see. Triangle.maki animates the sliding effect of the drawer. Anim.maki animates the moving arrow. We will go over the MAKI script for drawer in the next section.
* Triangle.m MAKI file for Complex Tutorial Skin
* Anim.m MAKI file for Complex Tutorial Skin