MACROMEDIA DIRECTOR MX 2004-GETTING STARTED WITH DIRECTOR Manual do Utilizador Página 35

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 44
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 página 34
1 2 ... 30 31 32 33 34 35 36 37 38 39 40 ... 43 44

Comentários a estes Manuais

Sem comentários