1. I named my loginBox component as "loginBox".
2. I've used your latest SWC for the Smartfoxbits 2x and imported the BitEvents from the com.smartfoxserver.smartfoxbits.events.BitEvents.
when i declare a new listener event to the "loginBox", i dont get the LOGIN_CLICK constant. i get the error,
Access to an undefined property LOGIN_CLICK through the reference with Static Type Class.
Code: Select all
LoginBox.addEventListener(BitEvent.LOGIN_CLICK, onLoginClickHandler)