Posted By

t3flexdev on 08/01/08


Tagged

view cairngorm


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

nickdoherty


Cairngorm VIEW


 / Published in: MXML
 

replace ###MODEL### with your com.domain.model dir

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%">
  3. <mx:Script>
  4. <![CDATA[
  5.  
  6.  
  7. import com.adobe.cairngorm.control.CairngormEvent;
  8. import com.adobe.cairngorm.control.CairngormEventDispatcher;
  9. import ###MODEL###.AppModelLocator;
  10.  
  11. [Bindable]
  12. private var model : AppModelLocator = AppModelLocator.getInstance();
  13.  
  14.  
  15.  
  16. ]]>
  17. </mx:Script>
  18.  
  19. </mx:Canvas>

Report this snippet  

You need to login to post a comment.