MACROMEDIA DIRECTOR MX 2004-GETTING STARTED WITH DIRECTOR Manual do Utilizador Página 31

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 44
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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
Vista de página 30
1 2 ... 26 27 28 29 30 31 32 33 34 35 36 ... 43 44

Comentários a estes Manuais

Sem comentários