MACROMEDIA DIRECTOR MX 2004-GETTING STARTED WITH DIRECTOR Bedienungsanleitung Seite 35

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 44
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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
Seitenansicht 34
1 2 ... 30 31 32 33 34 35 36 37 38 39 40 ... 43 44

Kommentare zu diesen Handbüchern

Keine Kommentare