MACROMEDIA DIRECTOR MX 2004-GETTING STARTED WITH DIRECTOR Manuel d'utilisateur Page 24

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 44
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 23
1 2 ... 19 20 21 22 23 24 25 26 27 28 29 ... 43 44

Commentaires sur ces manuels

Pas de commentaire