MACROMEDIA COLDFUSION MX 7.0.2-USING COLDFUSION MX WITH FLEX 2 Betriebsanweisung Seite 222

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 256
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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;
Seitenansicht 221
1 2 ... 217 218 219 220 221 222 223 224 225 226 227 ... 255 256

Kommentare zu diesen Handbüchern

Keine Kommentare