C-Media Multi-Sound Especificações Página 222

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 284
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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.
Vista de página 221
1 2 ... 217 218 219 220 221 222 223 224 225 226 227 ... 283 284

Comentários a estes Manuais

Sem comentários