Go Back   Winamp Forums > Skinning and Design > Modern Skins

Reply
Thread Tools Search this Thread Display Modes
Old 19th March 2003, 05:17   #1
mickachu
Junior Member
 
Join Date: May 2002
Posts: 16
need some help here....

this may or not be a stupid question but. i want to put the songticker where the background isnt, if you know what i mean. just text, with no background at all. ive tried everything i can think of, but nothing seems to work at all.
mickachu is offline   Reply With Quote
Old 19th March 2003, 05:42   #2
matt_69
Sunshine
(Major Dude)
 
matt_69's Avatar
 
Join Date: Jan 2003
Location: Brisvegas, Australia
Posts: 1,248
me thinks its not possible. everything needs a background to have sumthin place on it but prove me wrong

m*69

matt_69 is offline   Reply With Quote
Old 19th March 2003, 05:50   #3
J_Bloggs
Major Dude
 
J_Bloggs's Avatar
 
Join Date: Jan 2002
Posts: 1,778
Wrong.

Just define a height and width for your layout, and no background. Then put a songticker in there. To be able to move it you'll need a layer in there that you can click and hold with the mouse.

You'll win2000 or higher with DTA enabled for the songticker to work like that, especially if you have antialias on.

¯¯¯¯Joe Bloggs____
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
J_Bloggs is offline   Reply With Quote
Old 19th March 2003, 05:55   #4
matt_69
Sunshine
(Major Dude)
 
matt_69's Avatar
 
Join Date: Jan 2003
Location: Brisvegas, Australia
Posts: 1,248
oh well
me not know much about that kinda stuff so i get proven wrong all the time hehe

m*69

matt_69 is offline   Reply With Quote
Old 19th March 2003, 06:36   #5
J_Bloggs
Major Dude
 
J_Bloggs's Avatar
 
Join Date: Jan 2002
Posts: 1,778
I forgot to say, you need to add sysregion="1" to every object if you want it actually show up.

¯¯¯¯Joe Bloggs____
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
J_Bloggs is offline   Reply With Quote
Old 20th March 2003, 02:06   #6
mickachu
Junior Member
 
Join Date: May 2002
Posts: 16
thanks for the help. finally got it working now
mickachu is offline   Reply With Quote
Old 21st March 2003, 02:37   #7
mickachu
Junior Member
 
Join Date: May 2002
Posts: 16
new problem

ok, i have this layer covering the volume control, which i want to fade away when the mouse is over it.
heres the script:

#include "../../../lib/std.mi"

Class AnimatedLayer AnimatedLayerHint;
Function StartAnimation(AnimatedLayer l, int start, int end, int speed);
Global AnimatedLayerHint volumeCover;

System.onScriptLoaded() {
Group sGroup = getScriptGroup();
volumeCover = sGroup.findObject("Volumecover");
}

volumeCover.onEnterArea() {
StartAnimation(volumeCover, 1, 15, 10);
}

volumeCover.onLeaveArea() {
StartAnimation(volumeCover, 15, 1, 20);
}

StartAnimation(AnimatedLayer l, int start, int end, int speed) {
l.stop();
l.setStartFrame(start);
l.setEndFrame(end);
l.setSpeed(speed);
l.setAutoReplay(0);
l.play();
}

and that works fine. but when i try to set ghost="1" for the layer it stops working. anyone know y?
mickachu is offline   Reply With Quote
Old 21st March 2003, 02:49   #8
frisbeemonkey
Major Dude
 
frisbeemonkey's Avatar
 
Join Date: Jun 2002
Posts: 851
It stops working because onEnterArea() and onLeaveArea() are mouse events, and ghost="1" tells the Layer to ignore mouse events. I think you may want to leave ghost="0" but try rectrgn="0" instead.
Hope this helps,
~FrisbeeMonkey
frisbeemonkey is offline   Reply With Quote
Old 21st March 2003, 03:00   #9
mickachu
Junior Member
 
Join Date: May 2002
Posts: 16
that didnt work either. is there a way, probly through maki, that i could tell the layer to pass mouse clicks down to underlying layers?
mickachu is offline   Reply With Quote
Old 21st March 2003, 03:40   #10
frisbeemonkey
Major Dude
 
frisbeemonkey's Avatar
 
Join Date: Jun 2002
Posts: 851
Duh, sorry, I should have thought about this a little more. What would probably work best for you is to ghost="1" your cover, but then have the onEnterArea and onLeaveArea events linked to your Volume. This way, when the mouse is over your Volume control, the AnimatedLayer will open, and when it is off, it will close. Does that make sense?
~FrisbeeMonkey
frisbeemonkey is offline   Reply With Quote
Old 21st March 2003, 03:52   #11
mickachu
Junior Member
 
Join Date: May 2002
Posts: 16
yes it does, suprizingly enough. ill have to get to work on it now. thanks a bunch

And after nearly an hour of butting heads with maki scripts the volume slider is done. thanks again to all for the help so far.

Last edited by mickachu; 21st March 2003 at 05:07.
mickachu is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Skinning and Design > Modern Skins

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump