Mate Flex Framework: Hello World

Mate Flex Framework: Hello World

Žaidėjai

0

Įvertinimas

4.5★

Kategorijos

Demonstration

Apie

A simple Hello World example that shows how to use the basic EventHandlers tag, how to call a service using RemoteObject and how to use the CallBack tag. If you write "microsoft" instead of your name, you will see how the server faults are handled. It uses mock services to simulate Flash Remoting, but it also includes a ColdFusion service as an example. To use it, you'll need to uncomment the actual RemoteObject tag in the Services.mxml file. cfcs should be placed in a folder off the root called "helloworld". If you wish to change that path, you can make the change in the RemoteObjectInvoker inside the MainEventMap.mxml file. To use other type of server side technology, simply change the RemoteObject to match your endpoint and other configuration options. Your service should have a method called "sayHello" which should accept a string. It should return a typed object (class Message) which has a "text" property. To compile with the mock services, you need to add the folder "mock" to your build path.

Kategorija

Demonstration

Tipas

Mini žaidimas

Išleistas

Neseniai

Žaidėjai

0

Ta pati kategorija

DaugiauDemonstrationžaidimų

Populiariausias

Jums taip pat gali patikti

Šiuo metu populiarūs žaidimai, kuriuos kiti žaidėjai mėgsta.