MACROMEDIA FLASH 8-EXTENDING FLASH Manuale Utente Pagina 8

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 17
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 7
2003 Macromedia, Inc. 8
Accessing your Class using Flash Remoting
Now that your code is compiled let’s get our Flash widget in place. We
will only need to perform a few functions inside of Flash MX to get our UI
ready to call our .NET Class. Open Flash MX. Don’t worry about
mastering Flash MX and all the animations and tools. The tutorial will
provide step-by-step instructions to create the widgets.
Steps
1. Using Flash MX, open RemoteCatalog_raw.fla in the war directory.
2. Save it as RemoteCatalog.fla.
3. Examine this file. It already has some static text fields created.
4. Notice the 2 layers created: Actions and Components. Having an
Action layer is a best practice for locating code. The Components
layer will contain the GUI.
5. Click frame 1 of the Actions layer.
6. Press F9 or select Window Æ Actions to open the Actions panel for
frame 1 of the Actions layer. This is where you write code in Flash
MX. The left side is called the Actions toolbox. You can drag or
double-click method names to add to the code window on the right
side.
7. Make sure you are in Expert mode so you can get the large editor
window shown above (ctl-shft-e will also put you in expert mode):
Vedere la pagina 7
1 2 3 4 5 6 7 8 9 10 11 12 13 ... 16 17

Commenti su questo manuale

Nessun commento