Loading:


Stage showMenu [AS 2]

Klasa: Stage

Kompatybilność: ActionScript 1.0, Flash 5+

 

Określa, czy pokazać lub ukryć, domyślne wpisy w menu podręcznym (kontekstowym) w Flash Player.

 

Jeśli showMenu jest ustawione na TRUE (domyślnie), wtedy całe kontekstowe wpisy pojawiają się w podręcznym menu. Jeśli showMenu jest ustawione na FALSE, wtedy tylko Settings oraz About Adobe Flash Player rzeczy się wyświetlają (UWAGA! nie można ich usunąć).



Napisz Artyku³

Listing

this.createTextField("showMenu_txt", this.getNextHighestDepth(), 10, 10, 100, 22);
showMenu_txt.html = true;
showMenu_txt.autoSize = true;
showMenu_txt.htmlText = "<a href=\"asfunction:toggleMenu\"><u>Stage.showMenu = "+Stage.showMenu+"</u></a>";
function toggleMenu() {
    Stage.showMenu = !Stage.showMenu;
    showMenu_txt.htmlText = "<a href=\"asfunction:toggleMenu\"><u>Stage.showMenu = "+Stage.showMenu+"</u></a>";
}
 




Dodano przez: divix
Ranga: Administrator serwisu Punktów: 38523
Komentarze użytkowników
    • Tre¶æ komentarza
      Kod do komentarza (opcjonalnie)
      PHP JavaScript MySQL Smarty SQL HTML CSS ActionScript
      Autor
      Token
      token

       

       








funkcje.net
Wszelkie prawa zastrzeżone©. | Funkcje.net 2008-2024 v.1.5 | design: diviXdesign & rainbowcolors