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

  • 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 17
WEBXTRA HELP: PROPERTIES
WebXtra cast members have only one property:
browserServicesAvailable - used to determine if a working browser sprite can be
created. WebXtra can only create a working browser sprite when Internet Explorer
5.5 or later is installed, and only in the Windows platform. This property will return
FALSE or 0 when the Xtra is running on the Mac platform or in a Windows
machine that does not provide the required services. In these cases the Xtra will
still operate without any error messages, but will create just a white sprite instead
of a fully operational browser window.
Lingo example:
if member(x).browserServicesAvailable = false then
go to frame "nobrowseravailable"
end if
JavaScript syntax example:
if (member(x).browserServicesAvailable == false) {
_movie.go("nobrowseravailable")
}
WebXtra sprites have several properties that can be used to obtain information
from the browser object, or set its behavior. Most properties are available only after
the browser is initialized, so make sure to check the information returned for VOID
values.
busy - Read-only property, indicates if the browser is currently busy or conducting
a network operation. It is generally used to display an animation indicating browser
activity. Possible return values are TRUE or FALSE (1 or 0).
Lingo example:
put sprite(x).busy
Online Help
18
Vue de la page 17
1 2 ... 13 14 15 16 17 18 19 20 21 22 23 ... 43 44

Commentaires sur ces manuels

Pas de commentaire