« AdvancED Flex 3 (Friends of Ed)
» egalité vs liberté?

Flex

RemoteObject.operations

08.05.08 | Comment?

Once again - Adobe’s documentation is totally unhelpful.

For reasons that aren’t worth going into, I want to add Operation objects programmatically to a RemoteObject. The “operations” attribute (defined in AbstractService) has the following helpful information:

The Operations array is usually only set by the MXML compiler if you create a service using an MXML tag.

Fantastic. So what if you aren’t? Is it a regular numeric array of Operation objects? Or an associative array (suggested by the fact that the attribute type is Object, rather than Array), using the remote service method names?

Adobe: WTFM (properly!)

related

have your say

Add your comment below, or trackback from your own site. Subscribe to these comments.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

:

:


« AdvancED Flex 3 (Friends of Ed)
» egalité vs liberté?
Close
E-mail It