MACROMEDIA COLDFUSION MX 7.0.2-USING COLDFUSION MX WITH FLEX 2 Guía de usuario Pagina 222

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 256
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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;
Vista de pagina 221
1 2 ... 217 218 219 220 221 222 223 224 225 226 227 ... 255 256

Comentarios a estos manuales

Sin comentarios