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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 44
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 23
1 2 ... 19 20 21 22 23 24 25 26 27 28 29 ... 43 44

Comentarios a estos manuales

Sin comentarios