MACROMEDIA DIRECTOR MX 2004-GETTING STARTED WITH DIRECTOR Instrukcja Użytkownika Strona 35

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 44
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 34
1 2 ... 30 31 32 33 34 35 36 37 38 39 40 ... 43 44

Komentarze do niniejszej Instrukcji

Brak uwag