powered by Jive Software

AS3 Registration question / bug

Hi There

I have a question about registering using xiff.

When I call getRegistrationFields, the method getRegistrationFields_result is called.

It creates a RegistrationFieldsEvent, but never dispatches it.

Is this a bug , or intentional ?



I think it was left out by mistake.

var ext:RegisterExtension = resultIQ.getAllExtensionsByNS(RegisterExtension.NS)[0];

var fields:Array = ext.getRequiredFieldNames(); //TODO, phase this out

var event:RegistrationFieldsEvent = new RegistrationFieldsEvent();

event.from = resultIQ.from;

event.fields = fields;

event.data = ext;

dispatchEvent(event); /////// THIS LINE IS MISSING.