Where should I start? ‘Hello World’ application?

You should start by extending ModuleCore.as class.

override onInit() function. You will set-up your commands, proxies and mediators in here.

[as3 gutter=”1″ highlight=”4,6″] package org.mvcExpress.sampleProject{
import org.mvcexpress.core.ModuleCore;

public class MainModule extends ModuleCore {

override protected function onInit():void {
// map commands
// map proxies (and services)
// map modiators
}

}
}[/as3]

in your Main.as class instantiate it and assign to a value.
var module:MainModule = new MainModule();
Use the value to create yet not existing function : module.start(this);
Pass thisas parameter so you could use it with framework.

 

[as3 gutter=”1″ highlight=”7,8″] package org.mvcExpress.sampleProject{
import flash.display.Sprite;

public class Main extends Sprite {

public function Main() {
var module:MainModule = new MainModule();
module.start(this);
}
}
}[/as3]

Create (or generate) start(main:Main) function in MainModule class.
Add trace("Hello mvcExpress!!!");
[as3 gutter=”1″ highlight=”12-14″] package org.mvcExpress.sampleProject{
import org.mvcexpress.core.ModuleCore;

public class MainModule extends ModuleCore {

override protected function onInit():void {
// map commands
// map proxies (and services)
// map modiators
}

public function start(main:Main):void {
trace("Hello mvcExpress!!!");
}
}
}[/as3]