• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Habbo.swf Styling

Junior Spellweaver
Joined
Aug 15, 2011
Messages
167
Reaction score
15
Hi RageZone,

I've a problem.

I'n styling my habbo.swf, and now im trying to change the close button.
The width from the new close button is 20px. The previous one was 19px.
It won't work when i change habbo_window_layout_header_3 (habbo-105)
Code:
<?xml version="1.0"?>
<layout name="habbo_window_layout_header_3" width="64" height="33" version="0.0">

	<window>
	
		<container name="header_container" style="0" x="0" y="0" width="64" height="33" tags="_EXCLUDE, _INTERNAL">
	
			<params>
				<param name="relative_horizontal_scale_strech" />
				<param name="relative_vertical_scale_fixed" />
				<param name="use_parent_graphic_context" />
				<param name="bound_to_parent_rect" />
                <param name="inherit_caption" />
			</params>

			<children>
		
				<!-- Caption text -->

				<label name="header_title_text" x="4" y="2" width="12" height="15" background="false" tags="_TITLE, _EXCLUDE, _INTERNAL">
					<params>
						<param name="relative_horizontal_scale_center" />
						<param name="relative_vertical_scale_fixed" />
						<param name="use_parent_graphic_context" />
                        <param name="inherit_caption" />
					</params>
					<variables>
						<var key="text_style" value="u_frame_title" />
						<var key="grid_fit_type" value="subpixel" type="String"/>
						<var key="text_color" value="0x000000" type="hex"/>
						<var key="margins">
							<value>
								<Map>
									<var key="left" value="8" type="int" />
									<var key="top" value="1" type="int" />
									<var key="right" value="8" type="int" />
									<var key="bottom" value="1" type="int" />
								</Map>
							</value>
						</var>
					</variables>
				</label>

				<!-- Controls container -->

				<itemlist_horizontal x="45" y="2" width="20" height="20" background="false" color="0xffffffff" tags="_EXCLUDE, _INTERNAL, _COLORIZE, _CONTROLS">
					<params>
						<param name="relative_horizontal_scale_move" />
						<param name="relative_vertical_scale_fixed" />
						<param name="use_parent_graphic_context" />
					</params>
					
					<children>

                        <!-- Close button -->

						<closebutton name="header_button_close" style="3" x="0" y="0" width="20" height="20" tags="_EXCLUDE, _INTERNAL, close">
							<params>
								<param name="relative_horizontal_scale_fixed" />
								<param name="relative_vertical_scale_fixed" />
								<param name="input_event_processor" />
								<param name="use_parent_graphic_context" />
							</params>
						</closebutton>
					</children>
				</itemlist_horizontal>
			</children>
		</container>
	</window>
</layout>
Nor close_button_skin_3 (habbo-1072)
Code:
<?xml version="1.0"?>
<skin name="close_button_skin_3" version="0.0">

	<!-- shared variables -->
	
	<variables>
		<variable key="asset"	value="habbo_bitmap_skin2_png"	type="String" />
	</variables>
	
	<!-- the following maps layouts for render states -->
	
	<states>
		<state name="default"  layout="button_close_3" template="default_button_mode_3" />
		<state name="hovering" layout="button_close_3" template="hovering_button_mode_3" />
		<state name="pressed"  layout="button_close_3" template="pressed_button_mode_3" />
	</states>
	
	<!-- templates defines regions in bitmap asset -->
	
	<templates>
	
		<template name="default_button_mode_3" asset="$asset">
			<entities>
				<entity name="button_close" type="bitmap"><region><Rectangle x="139" y= "10" width="20" height="20" /></region></entity>
			</entities>
		</template>
		
		<template name="hovering_button_mode_3" asset="$asset">
			<entities>
				<entity name="button_close" type="bitmap"><region><Rectangle x="198" y= "10" width="20" height="20" /></region></entity>
			</entities>
		</template>
		
		<template name="pressed_button_mode_3" asset="$asset">
			<entities>
				<entity name="button_close" type="bitmap"><region><Rectangle x="168" y= "10" width="20" height="20" /></region></entity>
			</entities>
		</template>

	</templates>
	
	<!-- markup for layout drawer -->
	
	<layouts>
		<layout name="button_close_3" transparent="true">
			<entities>
				<entity name="button_close" id="0">
					<region><Rectangle x="0" y="0" width="20" height="20" /></region>
					<scale horizontal="fixed" vertical="fixed" />
				</entity>
			</entities>
		</layout>
	</layouts>
</skin>
Im getting this view:
Galago - Habbo.swf Styling - RaGEZONE Forums


Can someone help me?

-Galago
 
Joined
Jul 15, 2008
Messages
657
Reaction score
444
Re: Habbo.swf Styling help

Anyone? Am I that smart, that I'm the only one who can do this?

Maybe if you stop the egotistic attitude people will be more incline and willing to help you. Also, waiting more than 6 hours will help. Why should any one help if you're 'that smart' oh intelligent one ?
 
Upvote 0
Junior Spellweaver
Joined
Aug 15, 2011
Messages
167
Reaction score
15
Re: Habbo.swf Styling help

Maybe if you stop the egotistic attitude people will be more incline and willing to help you. Also, waiting more than 6 hours will help. Why should any one help if you're 'that smart' oh intelligent one ?
Im sorry if I made you upset.
 
Upvote 0
Newbie Spellweaver
Joined
Jul 29, 2012
Messages
6
Reaction score
0
Re: Habbo.swf Styling help

Maybe if you stop the egotistic attitude people will be more incline and willing to help you. Also, waiting more than 6 hours will help. Why should any one help if you're 'that smart' oh intelligent one ?

Add the fact that he's a smart butt to the list of why none is going to help this dude. :)
 
Upvote 0
Banned
Banned
Joined
Aug 4, 2011
Messages
852
Reaction score
331
Urm, Its in "habbo/habbo-922.bin" change width="19" to width="20"

EDIT: Screenshot of mine working (Not like 100% xD)

Galago - Habbo.swf Styling - RaGEZONE Forums
 
Upvote 0
Junior Spellweaver
Joined
Aug 15, 2011
Messages
167
Reaction score
15
Urm, Its in "habbo/habbo-922.bin" change width="19" to width="20"

EDIT: Screenshot of mine working (Not like 100% xD)

Galago - Habbo.swf Styling - RaGEZONE Forums
Its allready fixed guys. Thanks for your posts. (I've fixed it myself, but that doesn't matter.)
@Divide: I allready made it 20 pixels. I just had to change the X from the Controls container in habbo-105. And also, mine is for r63A, yours is r63B.
 
Upvote 0
Back
Top