[flexcoders] Re: Cairngorm ServiceLocator as ActionScript class?

2007-10-05 Thread paragmetha2000
Hi

Yes it is possible, becasue MXML is also a class which extends the 
base tag. for example if base tag is application then class extends 
Application, if base tag is Canvas in MXML then in as the class 
extends Canvas class.

So same way, the AS class need to extend ServiceLocator and specify 
all the required service used in application.

Hope this information will help you else i will post an AS file of 
serviceLocator.

Thank you,
Parag
http://paragmetha.blog.com 

--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] 
wrote:

 On Friday 05 Oct 2007, [EMAIL PROTECTED] wrote:
  is it possible to write the cairngorm ServiceLocator as an
  ActionScript class - instead of an mxml file?
 
 Turn on keep-sources in the compiler and see what it does :-)
 
 -- 
 Tom Chiverton
 Helping to completely harvest professional paradigms
 on: http://thefalken.livejournal.com
 
 
 
 This email is sent for and on behalf of Halliwells LLP.
 
 Halliwells LLP is a limited liability partnership registered in 
England and Wales under registered number OC307980 whose registered 
office address is at St James's Court Brown Street Manchester M2 
2JF.  A list of members is available for inspection at the registered 
office.  Any reference to a partner in relation to Halliwells LLP 
means a member of Halliwells LLP.  Regulated by The Solicitors 
Regulation Authority.
 
 CONFIDENTIALITY
 
 This email is intended only for the use of the addressee named 
above and may be confidential or legally privileged.  If you are not 
the addressee you must not read it and must not use any information 
contained in nor copy it nor inform any person other than Halliwells 
LLP or the addressee of its existence or contents.  If you have 
received this email in error please delete it and notify Halliwells 
LLP IT Department on 0870 365 8008.
 
 For more information about Halliwells LLP visit www.halliwells.com.





[flexcoders] Re: Cairngorm ServiceLocator as ActionScript class?

2007-10-05 Thread kramus0
Didn't know it is that easy. :-) Thanks.

Markus

--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED]
wrote:

 On Friday 05 Oct 2007, [EMAIL PROTECTED] wrote:
  is it possible to write the cairngorm ServiceLocator as an
  ActionScript class - instead of an mxml file?
 
 Turn on keep-sources in the compiler and see what it does :-)
 
 -- 
 Tom Chiverton
 Helping to completely harvest professional paradigms
 on: http://thefalken.livejournal.com
 
 
 
 This email is sent for and on behalf of Halliwells LLP.
 
 Halliwells LLP is a limited liability partnership registered in
England and Wales under registered number OC307980 whose registered
office address is at St James's Court Brown Street Manchester M2 2JF.
 A list of members is available for inspection at the registered
office.  Any reference to a partner in relation to Halliwells LLP
means a member of Halliwells LLP.  Regulated by The Solicitors
Regulation Authority.
 
 CONFIDENTIALITY
 
 This email is intended only for the use of the addressee named above
and may be confidential or legally privileged.  If you are not the
addressee you must not read it and must not use any information
contained in nor copy it nor inform any person other than Halliwells
LLP or the addressee of its existence or contents.  If you have
received this email in error please delete it and notify Halliwells
LLP IT Department on 0870 365 8008.
 
 For more information about Halliwells LLP visit www.halliwells.com.