MACROMEDIA DIRECTOR MX 2004-GETTING STARTED WITH DIRECTOR Instrukcja Użytkownika Strona 31

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 44
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 30
1 2 ... 26 27 28 29 30 31 32 33 34 35 36 ... 43 44

Komentarze do niniejszej Instrukcji

Brak uwag