Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Releases
[REL] HabboRegistration.swf working with Javascript
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Sulfatboule" data-source="post: 479938" data-attributes="member: 99774"><p>Hello,</p><p></p><p> </p><p> <img src="https://i.ibb.co/PWMC7z7/registration.png" alt="registration.png" class="fr-fic fr-dii fr-draggable " style="" /> </p><p></p><p>I wanted to use HabboRegistration.swf with my React frontend.</p><p>The problem is that it was created to work with Server side rendered websites.</p><p></p><p>So, i edited the SWF, to add 2 variables and manage to keep the previous behavior.</p><p></p><p>"continue_function" variable :</p><p>Takes as value the name of a javascript function, located in the same page as the SWF runs.</p><p>The SWF will call this function, when the user clicks on "Continue", with 2 arguments (gender and figure).</p><p>You can, after that, use thoses values to do what you want.</p><p></p><p>"button_always_active" variable :</p><p>Takes "true" or "false" as value.</p><p>By default, when we click on "Continue", the button will be disabled.</p><p>So this variable is used to keep the "Continue" button enabled even after clicking on it.</p><p></p><p>Even with the changes that i made, we can still use this SWF in the "old" way.</p><p></p><p>I also wanted to be able to use Habbo Club clothes with this SWF.</p><p>So i created a "figure_data_club.xml" that has normal and Habbo Club clothes.</p><p>With this, you can change the figure_data file, if the member is HC subscribed.</p><p></p><p>[MEDIA=youtube]l3XCq1jyTnQ[/MEDIA]</p><p></p><p>In the ZIP file, you will find some explanation and examples on how to use the "original" and the "new" HabboRegistration.swf.</p><p>You will also find explanations on how to use accents in the translation XML file.</p><p></p><p><a href="https://mega.nz/file/LYlChRwL#shEgPzFfufXmbRGqzbcEy__kI8mlKmJbxC9kTrU0rTI" target="_blank">Download</a></p></blockquote><p></p>
[QUOTE="Sulfatboule, post: 479938, member: 99774"] Hello, [IMG alt="registration.png"]https://i.ibb.co/PWMC7z7/registration.png[/IMG] I wanted to use HabboRegistration.swf with my React frontend. The problem is that it was created to work with Server side rendered websites. So, i edited the SWF, to add 2 variables and manage to keep the previous behavior. "continue_function" variable : Takes as value the name of a javascript function, located in the same page as the SWF runs. The SWF will call this function, when the user clicks on "Continue", with 2 arguments (gender and figure). You can, after that, use thoses values to do what you want. "button_always_active" variable : Takes "true" or "false" as value. By default, when we click on "Continue", the button will be disabled. So this variable is used to keep the "Continue" button enabled even after clicking on it. Even with the changes that i made, we can still use this SWF in the "old" way. I also wanted to be able to use Habbo Club clothes with this SWF. So i created a "figure_data_club.xml" that has normal and Habbo Club clothes. With this, you can change the figure_data file, if the member is HC subscribed. [MEDIA=youtube]l3XCq1jyTnQ[/MEDIA] In the ZIP file, you will find some explanation and examples on how to use the "original" and the "new" HabboRegistration.swf. You will also find explanations on how to use accents in the translation XML file. [URL='https://mega.nz/file/LYlChRwL#shEgPzFfufXmbRGqzbcEy__kI8mlKmJbxC9kTrU0rTI']Download[/URL] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Releases
[REL] HabboRegistration.swf working with Javascript
Top