Added:
import mx.core.FlexGlobals;
And fix the serverUri sent as constructor param
I've changed the server uri too, but it is just to run on my local machine.