BrightSign HD2000 Object Reference Manual User Manual

Page 25

Advertising
background image

 10 to 11 - Venetian blinds vertical and horizontal

 12 to 13 - Comb effect vertical and horizontal

 14 - Fade out to background color then back in

 15 - Fade between current image and new image

 16 to 19 - Slides from top, bottom, left and right


To display images in a zone, SetRectangle() must be called. EnableZoneSupport() must be
included in a script to use the zones functionality.

Here are some example shell commands you can try to test the different display modes:

Roku> image filename.bmp 0
Roku> image filename.bmp 1
Roku> image filename.bmp 2
Roku> image filename.bmp 3

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

25

Advertising
This manual is related to the following products: