How to use NGUI with javascript?

Hello
I work on a project and became a question of creating the menu. Loved NGUI. But the whole project is written in javascript and rewrite in C # there is no particular desire and time, and I do not understand it. Oh well closer to the subject. Let’s say I created a menu with different buttons, labels and triggers. How to assign actions to the buttons. Let’s say there is a button “Start”, what sort of code i need to write and where to when i click on it loaded another scene. How can Label take values from other variables or PlayerPreference? Thanks in advance.

I just started working with NGUI recently and encountered the same issue. The Solution is detailed in the FAQ thread on their forum;

FAQ link

More specifically, it involves you simply moving the folder structure around on the GUI you create.

alt text