<cairngorm:ServiceLocator 
    xmlns:mx="http://www.adobe.com/2006/mxml"; 
    xmlns:cairngorm="com.adobe.cairngorm.business.*"
    >

That would be the same as:

    public class Services extends com.adobe.cairngorm.business.ServiceLocator {}

Where Services is the name of the mxml file that has 
<cairngorm:ServiceLocator... > defined as its base tag.
Add the -keep argument to the compiler options to see what goes on behind the 
scenes.

regards,
Muzak

----- Original Message ----- 
From: "Chris Velevitch" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, December 10, 2007 12:27 AM
Subject: [flexcoders] AS3 classes as MXML to enclose other tags


> I've been looking Cairngorm and I saw this:-
> 
> <?xml version="1.0" encoding="utf-8"?>
> <cairngorm:ServiceLocator
> xmlns:mx="http://www.adobe.com/2006/mxml";
> xmlns:cairngorm="com.adobe.cairngorm.business.*">
> <mx:RemoteObject
>            id="addcontactService"
>            destination="addcontactService"
> showBusyCursor="true"
> result="event.token.resultHandler( event );"
> fault="event.token.faultHandler( event );">
>    </mx:RemoteObject>
> </cairngorm:ServiceLocator>
> 
> where ServiceLocator is a user defined class.
> 
> What is this mechanism called and where can I learn how it works?
> 
> 
> Chris
> -- 
> Chris Velevitch
> Manager - Sydney Flash Platform Developers Group
> m: 0415 469 095
> www.flashdev.org.au
>


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to