same as
<mx:Button
xmlns:mx="http://www.adobe.com/2006/mxml*" >
On 10/12/2007, at 10:52 AM, Muzak wrote:
> <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
>
>
>