Brightsign Object Reference Manual (FW 5.1) Instrukcja Użytkownika Strona 81

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 341
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 80
73
Roku> image filename.bmp 0 0 0
Roku> image filename.bmp 2 0 0
The following example script uses preloaded images to improve the UI speed when the user hits a key on the keyboard.
As soon as a key is struck, the display switches to the new image, which has already been preloaded. The only possible
delay occurs if the key is hit while the image is preloading. In this case, the image will display as soon as it is loaded.
i = CreateObject("roImagePlayer")
p = CreateObject("roMessagePort")
k = CreateObject("roKeyboard")
k.SetPort(p)
i.PreloadFile("one.bmp")
loop:
i.DisplayPreload
i.PreloadFile("two.bmp")
Wait(0,p)
i.DisplayPreload
i.PreloadFile("one.bmp")
Wait(0,p)
goto loop
Przeglądanie stron 80
1 2 ... 76 77 78 79 80 81 82 83 84 85 86 ... 340 341

Komentarze do niniejszej Instrukcji

Brak uwag