Posted By

GarthDB on 04/22/09


Flex 4 Gumbo cairngom

Versions (?)

Cairngorm in Gumbo

 / Published in: MXML

Cairngorm pretty much just works in Gumbo straight out of the box. Only hiccup I found was that you can't instantiate the services and controller components using mxml tags. Just define them once in the main application using ActionScript and you should be good.

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FxApplication xmlns="">
  3. <Script>
  4. <![CDATA[
  5. import com.candycoatedsyntax.control.Controller;
  6. import;
  7. import com.candycoatedsyntax.model.ModelLocator;
  9. private var model:ModelLocator = ModelLocator.getInstance();
  10. private var services:Services = new Services();
  11. private var control:Controller = new Controller();
  12. ]]>
  13. </Script>
  14. </FxApplication>

Report this snippet  

You need to login to post a comment.