MACROMEDIA DIRECTOR MX 2004-GETTING STARTED WITH DIRECTOR Manuale Utente Pagina 31

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 44
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 30
return false
end if
-- Alternatively, you could blocks a specific domain
-- if URL contains "macromedia.com" then
-- return false
-- end if
--by default we allow all operations to complete
return true
end
JavaScript syntax example:
function startNavigation(spriteRef, URL, frameName ){
// Only load pages from the macromedia.com domain
if (URL.indexOf("macromedia.com") < 0) {
_player.alert("blocked")
return false
}
// Alternatively, you could blocks a specific domain
// if (URL.indexOf("macromedia.com") >= 0) {
// return false
// }
//by default we allow all operations to complete
return true
}
Online Help
31
Vedere la pagina 30
1 2 ... 26 27 28 29 30 31 32 33 34 35 36 ... 43 44

Commenti su questo manuale

Nessun commento