MACROMEDIA DIRECTOR MX 2004-GETTING STARTED WITH DIRECTOR Manual de usuario Pagina 35

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 44
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 34
//calls a routine to destroy the window
scheduleWindowTermination()
}
progressChange(spriteRef, progress, progressmax) - This handler is called by
WebXtra to signalize a network operation in progress. The two parameters progress
and progressmax indicate how much of the operation has completed. A progress
value of -1 or a progressmax value of 0 indicate that the operation has completed or
was aborted.
Lingo example:
on progressChange spriteRef , progress, progressmax
if progress>-1 and progressmax>0 then
put string((float(progress)/float(progressmax)*100)) &"% completed"
end if
end
JavaScript syntax example:
function progressChange(spriteRef, progress, progressmax){
if ((progress>-1) && (progressmax>0)){
trace((progress/progressmax*100.0).toString+"% completed")
}
}
titleChange(spriteRef, newTitle) - Called by WebXtra to signalize that the title of
the document currently loaded has changed, usually when a page begins to load.
Lingo example:
on titleChange spriteRef , newTitle
Online Help
35
Vista de pagina 34
1 2 ... 30 31 32 33 34 35 36 37 38 39 40 ... 43 44

Comentarios a estos manuales

Sin comentarios