Thank greg, that 2nd link was exactly what I needed, just couldn't find it.
Thanks again.

On 11/27/06, greg h <[EMAIL PROTECTED]> wrote:

  Eric,

Just add an id= property on the <mx:RemoteObject> tag.  The value on the
id property is the instance name that you can then reference in your AS
code.

You can find a code fragment example of hybrid MXML and AS referencing a
RemoteObject in this post by Mike Nimer:

www.mikenimer.com/index.cfm/2006/7/19/Flex-Data-Server-and-CF-Flash-Remoting-together

btw ... you can also do it all in AS.  Sample here from the docs:
http://livedocs.macromedia.com/flex/2/docs/00001140.html#263224

hth,

g

On 11/27/06, Eric Fleming <[EMAIL PROTECTED]> wrote:
>
>  A bit of a change of subject, but how would I call the remoteobject tag
> in actionscript?
>
> <mx:RemoteObject method="myMethod" result="myMethodResult(event)"
> fault="Alert.show(event.fault.message)" />
> In AS3?
>




--
Eric Fleming
[EMAIL PROTECTED]

Reply via email to