» Stats
Members: 48,616
Threads: 84,986
Posts: 1,031,252
Top Poster: Rindalik (4,430) Welcome to our newest member, kucoco
» Fitness.com Fitness Shop
If you
register for
free , you will be able to post threads, vote on polls and lots more. If you have problems with the registration or logging in, please
contact the administrator.
12-12-2006, 09:21 PM
Attaching a background to "continue" (skinning) Post #1 Junior Member
Join Date: Jan 1970
Posts: 2
Rep Power:
0
Attaching a background to "continue" (skinning)
Hi,
I'm working on a skin, but I just can't figure out how to attach a background to the continue button.
This is the code:
<pre class="ip-ubbcode-code-pre"> <widget class="action_button" text="Continue" appearance="menu/bar" auto_size="horizontal" style="embossed" size="10"><record id="click_event" event_id="CONT" event_target="scrn"/><attachment class="test_global_attachment" get_property="cont" set_property="disa"><list id="value"><integer value="-8"/><integer value="-5"/></list></attachment><!-- match play text --><attachment class="get_global_attachment" get_property="cttx" set_property="text"/></widget> <widget class="action_button" id="back" appearance="button/custom/back/button" auto_size="all"> <attachment class="get_global_attachment" get_property="disp" set_property="disa"/><attachment class="stick_to_sides_attachment" alignment="top" inset="39"/> <record id="click_event" event_id="GOTO" event_target="scrn" scin="-3"/> </widget> <widget class="action_button" id="forw" appearance="button/custom/next/button" auto_size="all"> <attachment class="get_global_attachment" get_property="disn" set_property="disa"/><attachment class="stick_to_sides_attachment" alignment="top" inset="39"/> <record id="click_event" event_id="GOTO" event_target="scrn" scin="-2"/> </widget></pre>
Can anyone help me here?
12-12-2006, 11:55 PM
Attaching a background to "continue" (skinning) Post #2 Member
Join Date: Jul 2003
Posts: 63
Rep Power:
7
To work with that you should have:
Your main 'graphics' folder > a 'menu' folder > a set of graphics files called 'bar...'
you can either have them fixed size meaning you'd have:
bar.png, bar_over.png, bar_clicked.png, bar_disabled.png and maybe showing.png
or you could have it as variable size meaning you have a left, right and middle graphic for each or the above 5 types:
eg bar_clicked_left.png, bar_clicked_middle.png, bar_clicked_right.png
That should work fine and dandy. However, whilst writing this some memories come back and it could also be the widget type. I seem to remember having some kind of problem like this. You might have to change it to 'text_button' from 'action_button'. Or it might have been the other way round, in which case you've done it already so it should work. However it might not need chaning at all. I'd make certain of your file placements before changing it.
12-13-2006, 12:21 AM
Attaching a background to "continue" (skinning) Post #3 Junior Member
Join Date: Jan 1970
Posts: 2
Rep Power:
0
Quote:
Originally posted by radestock:
To work with that you should have:
Your main 'graphics' folder > a 'menu' folder > a set of graphics files called 'bar...'
you can either have them fixed size meaning you'd have:
bar.png, bar_over.png, bar_clicked.png, bar_disabled.png and maybe showing.png
or you could have it as variable size meaning you have a left, right and middle graphic for each or the above 5 types:
eg bar_clicked_left.png, bar_clicked_middle.png, bar_clicked_right.png
That should work fine and dandy. However, whilst writing this some memories come back and it could also be the widget type. I seem to remember having some kind of problem like this. You might have to change it to 'text_button' from 'action_button'. Or it might have been the other way round, in which case you've done it already so it should work. However it might not need chaning at all. I'd make certain of your file placements before changing it.
Neither action_button og text_button seems to work.
This is the widget for the "Manager"-menu and I want my continue button in the same style.
<pre class="ip-ubbcode-code-pre"> <widget class="header_popup" text="Manager" appearance="menu/bar" size="8" colour="grey3"> <attachment class="get_global_attachment" get_property="mgro" set_property="itms" skip_if_null="false"/> </widget></pre>
If I change the text and adds this line:
<record id="click_event" event_id="CONT" event_target="scrn"/>
it works, but the "Manager"-fold down menu still unfolds - how can I avoid this?
12-13-2006, 01:24 AM
Attaching a background to "continue" (skinning) Post #4 Member
Join Date: Jan 1970
Posts: 81
Rep Power:
40
change the attachment class line so it reads the same as the default continue button.
So it'll look something like this:
<pre class="ip-ubbcode-code-pre"><widget class="header_popup" text="Continue" appearance="menu/bar" size="8" colour="grey3"><record id="click_event" event_id="CONT" event_target="scrn"/><attachment class="test_global_attachment" get_property="cont" set_property="disa"><list id="value"></list></attachment><!-- match play text --><attachment class="get_global_attachment" get_property="cttx" set_property="text"/></widget></pre>
12-13-2006, 01:28 AM
Attaching a background to "continue" (skinning) Post #5 Junior Member
Join Date: Jan 1970
Posts: 2
Rep Power:
0
Yeah I just tried that too Michael.
The dropdown menu still shows just without any content. I think the problem is the header_popup, which i believe has the dropdown function - just don't know how to get rid of it.
12-13-2006, 01:32 AM
Attaching a background to "continue" (skinning) Post #6 Junior Member
Join Date: Jan 1970
Posts: 2
Rep Power:
0
Like this:
12-13-2006, 07:08 PM
Attaching a background to "continue" (skinning) Post #7 Member
Join Date: Jan 1970
Posts: 81
Rep Power:
40
Try using the code that displays the ball in the footer as the continue button.
12-14-2006, 01:03 AM
Attaching a background to "continue" (skinning) Post #8 Junior Member
Join Date: Jan 1970
Posts: 2
Rep Power:
0
Quote:
Originally posted by michaeltmurrayuk:
Try using the code that displays the ball in the footer as the continue button.
No that won't work. It's just a button without text, and I've tried the action_button. Doesn't work.
Thread Tools Display Modes Linear Mode
More threads of Weeelo Thread Date Forum Replies Last Post Simplicity [WIP]
Simplicity [WIP]: Hi..
Instead of improving my Black Aura...
02-01-2007 Skinning Hideout 52 06-10-2007 12:14 PM New skin [WIP]
New skin [WIP]: Hi there,
I've been working on a new skin,...
12-14-2006 Skinning Hideout 117 02-16-2007 01:22 PM Game Date Layout
Game Date Layout: Hi, I've been reading this:...
02-01-2007 Skinning Hideout 6 02-11-2007 12:02 PM Which quicklinks do you use?
Which quicklinks do you use?: Here's a list of the available quicklinks from...
12-21-2006 Skinning Hideout 1 12-21-2006 09:30 PM 3 minor skin problems
3 minor skin problems: Hi there,
I just can't figure out howto make...
12-18-2006 Skinning Hideout 1 12-18-2006 10:26 PM
Other threads in forum Skinning Hideout Thread Date Thread Starter Replies Last Post QUESTION FOR FM UNDERGROUND GUYS
QUESTION FOR FM UNDERGROUND GUYS: editor is great, but is is possible to edit a...
01-24-2007 peroniplease? 0 01-24-2007 03:50 PM Avellino Seria B
Avellino Seria B: Im aware of the rules so this might be shut down....
01-01-2006 jimmymc 2 01-01-2006 02:50 AM Mcfm 0.1.2.0 problem
Mcfm 0.1.2.0 problem: It just does not seem to work with 6.0.2 so if...
12-22-2005 Asad 3 12-22-2005 11:13 PM FM-modifier for FM2006? Anybody?
FM-modifier for FM2006? Anybody?: I used to use FM Modifier with FM2005, and it was...
11-01-2005 KeljuK 1 11-01-2005 01:05 PM Help with stadium problem please!
Help with stadium problem please!:
01-01-1970 Micky T 0 01-01-1970 01:00 AM
» Online Users: 26 2 members and 24 guests opqr967, rstu383 Most users ever online was 2,128, 07-21-2008 at 08:27 PM.