Roku BrightSign Manual de usuario Pagina 20

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 26
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 19
20
Roku> image filename.bmp 0 0 0
Roku> image filename.bmp 2 0 0
This example script uses preloaded images to improve the UI speed when the user hits a key on the
keyboard. As soon as the keyboard is hit, then the display switches to the new image which has already
been preloaded. The only delay is if the key is hit whilst the image is pre-loading - as soon as the image is
loaded, it will then display.
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
Vista de pagina 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 26

Comentarios a estos manuales

Sin comentarios