MACROMEDIA FLASH 8-EXTENDING FLASH Bedienungsanleitung Seite 10

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 17
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 9
2003 Macromedia, Inc. 10
16. Use the catalogService remote service to invoke the getCategories()
method:
catalogService.getCategories();
17. Save the document.
18. Test the movie: Cntl + enter
19. The Output panel should display the message NetServices info 1:
getCategories_Result was received from server: [object Object].
20. Go back to the authoring environment: Cntl + W.
21. Select Window Æ NetConnection Debugger.
22. Test the movie again.
23. Review the Result event in the NetConnection Debugger window.
Notice the data returned from RemoteCatalog:
Conclusion
You have now successfully invoked a .NET class from Flash. Although
the example here is a simple one it demonstrates the ease of accessing
services from your Flash UI and returning a recordset created dynamically
from a database. Congratulations! Now it’s time to create the Flash UI that
will use this dynamic data.
Seitenansicht 9
1 2 ... 5 6 7 8 9 10 11 12 13 14 15 16 17

Kommentare zu diesen Handbüchern

Keine Kommentare