Old 8th March 2004, 12:31   #1
OzObdrOl
Member
 
OzObdrOl's Avatar
 
Join Date: Feb 2004
Location: The sofa
Posts: 91
Images stroked

Hey there. I'm having a bit of an issue which is causing me many hours of frustration. I created a simple little skin, just a base and 5 buttons. The base image has semi-transparent pixels around the edges, but when I use it in winamp they are plain solid black pixels. Which is gay.

I know you're all yelling at me "You fool, desktopalpha, alphabackground, etc etc", but I tried that and there is absolutely no difference between the 6 or so different methods that I tried. If you know what I'm talkin bout and know how to fix it... plz tell me how, coz this happens quite often with me, and then i sit and delete the semi-transparent pixels later.
OzObdrOl is offline   Reply With Quote
Old 8th March 2004, 14:25   #2
UUL
Winamp Addict
(Major Dude)
 
UUL's Avatar
 
Join Date: May 2003
Location: Winamp Modern Skinning Forum!
Posts: 868
Send a message via ICQ to UUL Send a message via AIM to UUL Send a message via Yahoo to UUL
do you use xp? it won't work on win 98 etc
UUL is offline   Reply With Quote
Old 8th March 2004, 16:31   #3
OzObdrOl
Member
 
OzObdrOl's Avatar
 
Join Date: Feb 2004
Location: The sofa
Posts: 91
Yeah i got XP
OzObdrOl is offline   Reply With Quote
Old 8th March 2004, 18:00   #4
UUL
Winamp Addict
(Major Dude)
 
UUL's Avatar
 
Join Date: May 2003
Location: Winamp Modern Skinning Forum!
Posts: 868
Send a message via ICQ to UUL Send a message via AIM to UUL Send a message via Yahoo to UUL
hmm, strange.. don't know what's wrong then, could you post the skin?
UUL is offline   Reply With Quote
Old 8th March 2004, 18:03   #5
OzObdrOl
Member
 
OzObdrOl's Avatar
 
Join Date: Feb 2004
Location: The sofa
Posts: 91
i would, but i think i got frustrated and deleted it. Cant find it.
OzObdrOl is offline   Reply With Quote
Old 8th March 2004, 18:14   #6
OzObdrOl
Member
 
OzObdrOl's Avatar
 
Join Date: Feb 2004
Location: The sofa
Posts: 91
I think the layout tags look like this:

code:

<layout id="normal" background="non-alpha" alphabackground="alpha" droptarget="pldr" desktopalpha="1">
</layout>

OzObdrOl is offline   Reply With Quote
Old 8th March 2004, 18:33   #7
Icegod
Senior Member
 
Icegod's Avatar
 
Join Date: Dec 2003
Location: Belgium
Posts: 260
I suppose you did put the with and height in there too.
Did you try removing the desktopaplha tag. It isn't really neccesary if you use the background+alphabackground tags.
Icegod is offline   Reply With Quote
Old 8th March 2004, 18:35   #8
OzObdrOl
Member
 
OzObdrOl's Avatar
 
Join Date: Feb 2004
Location: The sofa
Posts: 91
nevermind. Skin deleted, i'll bitch and moan again, when i run into that problem again
OzObdrOl is offline   Reply With Quote
Old 8th March 2004, 20:18   #9
hammerhead
The Shark
(Forum King)
 
hammerhead's Avatar
 
Join Date: Jul 2002
Posts: 2,537
Send a message via AIM to hammerhead
Make sure that you actually have desktopalpha turned on in your preferences (since winamp by default doesn't.)
hammerhead is offline   Reply With Quote
Old 10th March 2004, 03:22   #10
OzObdrOl
Member
 
OzObdrOl's Avatar
 
Join Date: Feb 2004
Location: The sofa
Posts: 91
Thanks Hammerhead, my stupidity shines through yet again. But what does "desktopalpha=1" do then? I thought that was the purpose of the damn option. So if I distribute this skin to people who dont have it activated will have a crappy looking skin... great. I'm not gonna make non-desktopalpha pics, screw that.

Anyway... yet another question: Is there a maximum size that a single picture can be? I feel like such an idiot because nothing I want to do will work. I have this code:
code:

<layout id="FlameNet4" droptarget="pldr" desktopalpha="1" w="585" h="41">
<layer id="player.4.base.layer" image="player.4.base.img" x="0" y="0" sysregion="1" />
<group id="player.4.cbuttons.group" x="0" y="0" />
</layout>


The picture's size is exactly that... but winamp cuts it off at width of about 500. Anything wrong with the above code?
OzObdrOl is offline   Reply With Quote
Old 10th March 2004, 03:28   #11
OzObdrOl
Member
 
OzObdrOl's Avatar
 
Join Date: Feb 2004
Location: The sofa
Posts: 91
Nevermind previous post. Sorted out. Damn that Studio.xnf file...
OzObdrOl is offline   Reply With Quote
Old 10th March 2004, 16:57   #12
hammerhead
The Shark
(Forum King)
 
hammerhead's Avatar
 
Join Date: Jul 2002
Posts: 2,537
Send a message via AIM to hammerhead


DeskTopAlpha="1" allows Winamp to use DTA in your layout. I think it's possible to turn desktopalpha on/off in the Winamp prefs from the skin: make a DTA togglebutton and then switch it on with a maki script.
hammerhead is offline   Reply With Quote
Old 11th March 2004, 06:53   #13
OzObdrOl
Member
 
OzObdrOl's Avatar
 
Join Date: Feb 2004
Location: The sofa
Posts: 91
Well, cant i do a MAKI script that runs on skin load... then in System.OnScriptLoaded() do the DTA thing? But what is the DTA command?
OzObdrOl is offline   Reply With Quote
Old 11th March 2004, 08:11   #14
pukkaboy
Major Dude
 
pukkaboy's Avatar
 
Join Date: Jul 2000
Location: The United Kingdom of Fools.
Posts: 599
Send a message via ICQ to pukkaboy
setDesktopAlpha(Boolean onoff);

Croquet is the only real form of happiness
Proud member of the Correct Grammar Association™. (CGA)
'All of your bases belong to us!'
pukkaboy is offline   Reply With Quote
Old 11th March 2004, 09:06   #15
OzObdrOl
Member
 
OzObdrOl's Avatar
 
Join Date: Feb 2004
Location: The sofa
Posts: 91
Thanks pukkaboy
OzObdrOl is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast 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