C-Media Multi-Sound Specifiche Pagina 222

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 284
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 221
222 Chapter 13 Dynamic Images
Flash Parameters For SWF images, any parameters specified in the Dynamic Image Specifica-
tions dialog box are passed to the SWF similar to how parameters are passed
from a web page. This allows you to customize a single SWF file in various
ways, without having to modify the SWF file itself.
For example, when creating a stock quote display SWF, you may not know
what company to display. Instead of hard-coding the company identifier into
the SWF file, pass it as a parameter by putting it into the “Parameters” field of
the dynamic media item, as shown on the left.
You can then access this “code” parameter, as well as any other parameters
you may want to pass, from the loaderInfo object in the SWF file like this:
loaderInfo.parameters.code
This parameter can be sent to a web service providing live stock quotes, such
as the one available from Yahoo.
Vedere la pagina 221
1 2 ... 217 218 219 220 221 222 223 224 225 226 227 ... 283 284

Commenti su questo manuale

Nessun commento