Neuwbi Questions

1 view
Skip to first unread message

goro

unread,
Sep 15, 2008, 12:26:38 PM9/15/08
to Jedai
Hi guys,
I have found he Jedai Framework. I want to know how to:
1. I want to have 2 views. In the first I have my login component.
When I click the login button and the server doesn't reject me I want
to go to the second view, where my chat is. For that I need to get the
login button, to write an event handler for it, to check if the
connection is successfull and then if it is to go to the second frame.
That is realy dirty. How can I make it easy and clean?
2. I want to rewrite all the texts, because my clients want the texts
on there own languages.
3. I want to style all the buttons and the textfields in the
components and to change the image of the ConnectionLight.
4. I want the password field as a real password field. When I type in
it I don't want to see my password but some ******

Thank you for the great Frameowrk!

Dominick Accattato

unread,
Sep 15, 2008, 3:33:00 PM9/15/08
to je...@googlegroups.com
Goro:

Please see the following inline comments.

On Mon, Sep 15, 2008 at 12:26 PM, goro <gd...@hotmail.com> wrote:

Hi guys,
I have found he Jedai Framework. I want to know how to:
1. I want to have 2 views. In the first I have my login component.
When I click the login button and the server doesn't reject me I want
to go to the second view, where my chat is. For that I need to get the
login button, to write an event handler for it, to check if the
connection is successfull and then if it is to go to the second frame.
That is realy dirty. How can I make it easy and clean?

the login component like all the other components use the Red5BootStrapper class.  You can then listen a successful connection like so:

bootStrapper = Red5BootStrapper.getInstance();
bootStrapper.addEventListener(Red5Event.CONNECTED, onConnected);

private function onConnected(event:Red5Event) : void {
           // connected
}
....


also since the Red5BootStrapper is a singleton, you can listen from anywhere in the application.
 

2. I want to rewrite all the texts, because my clients want the texts
on there own languages.

for the time being it is in beta 0.1.  We will add this support soon, but it's not currently in there.
 

3. I want to style all the buttons and the textfields in the
components and to change the image of the ConnectionLight.

for the time being you have to actually change the source code for the component.  We will try to make this more extensible in the near future.


4. I want the password field as a real password field. When I type in
it I don't want to see my password but some ******

for sure, I will add this into the source immediately and will let you know when it's in the trunk.
 


Thank you for the great Frameowrk!




--
Dominick Accattato, CTO
Infrared5 Inc.
www.infrared5.com
Reply all
Reply to author
Forward
0 new messages