Hi there,

Does anyone know how to use a custom formatter object with MTASC?

Although when using MM compiler, the following code does compile the my
custom class "MyFormmater" (which extends mx.data.binding.CustomFormatter),
this doesn't happen anymore with MTASC.

                //MM example

                var customFormater:Object = new Object()
                customFormater.cls = mx.data.formatters.Custom
                customFormater.settings
={classname:"MyFormatter",classname_class:MyFormatter}

                //assuming that srcEndPoint and  destEndPoint are already 
declared
                var newBind = new mx.data.binding.Binding
(srcEndPoint,destEndPoint,customFormater);
                newBind.execute();

Regards,
Iuliu



_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to