MACROMEDIA DIRECTOR MX 2004-GETTING STARTED WITH DIRECTOR Bedienungsanleitung Seite 31

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 44
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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
Seitenansicht 30
1 2 ... 26 27 28 29 30 31 32 33 34 35 36 ... 43 44

Kommentare zu diesen Handbüchern

Keine Kommentare