MACROMEDIA COLDFUSION MX 7.0.2-USING COLDFUSION MX WITH FLEX 2 Guide de l'utilisateur Page 222

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 256
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 221
222 Use the Data Management Service
2. Save the file.
If you are not using Flex Builder, open the following URL in a browser window:
http://localhost:port/samples/DSLessons/lesson1.mxml
If you are using Flex Builder, run the application from Flex Builder.
The following application appears in the browser window:
Import the required ActionScript classes
In this section, you create a script block and import a set of classes that you will use within the
script block.
1. Create a script block for ActionScript code directly below the <mx:Application> tag in
the lesson1.mxml file:
<mx:Script>
<![CDATA[
]]>
</mx:Script>
2.
Directly below the <![CDATA[ tag, add the following ActionScript import statements:
import mx.data.DataService;
import mx.data.events.*;
import mx.rpc.AsyncToken;
import mx.rpc.events.*;
import mx.messaging.events.*;
import mx.utils.ObjectProxy;
Vue de la page 221
1 2 ... 217 218 219 220 221 222 223 224 225 226 227 ... 255 256

Commentaires sur ces manuels

Pas de commentaire