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

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 44
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 23
sprite(x).execBrowserScript(scripttext) - Passes the specified string as a script to be
executed by the Javascript interpreter in the browser. This functionality allows you
to execute both built-in Javascript commands and also functions that you define in
the HTML page loaded in WebXtra. For reference, check the SCRIPTING sample
at the WebXtra tutorials and samples page.
Example:
sprite(1).execBrowserScript("alert('Hello from Director')")
sprite(x).scrollWindow(xDelta, yDelta) - This function can be used to create a
button that scrolls the page loaded in the browser from Lingo, if your interface is
not displaying the standard browser scroll bars. It accepts negative and positive
values.
Example:
sprite(1).scrollWindow(-10, 100)
sprite(x).goBack() - Navigates to the previous URL in the browser history, if
available.
Example:
sprite(1).goBack()
sprite(x).goForward() - Navigates to the next URL in the browser history, if
available.
Example:
sprite(1).goBack()
Online Help
24
Seitenansicht 23
1 2 ... 19 20 21 22 23 24 25 26 27 28 29 ... 43 44

Kommentare zu diesen Handbüchern

Keine Kommentare