Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added JS equivalent

...

...


Panel
borderColor#3D3D3D
bgColor#F4F4F4
titleColor#3D3D3D
borderWidth0
titleBGColor#3D3D3D
borderStylesolid

ON THIS PAGE

Table of Contents
indent20px

Insert excerpt
BrightScript Version Navigation Menu
BrightScript Version Navigation Menu
nopaneltrue
This object displays static bitmap images on the video display. The simplest way to use roImagePlayer is to make calls to DisplayFile() with the filename as a String. Alternatively, you can use PreloadFile() in conjunction with DisplayPreload() to have more control. For more pleasing aesthetics when generating an image player, use the roImageWidget object.  The JavaScript equivalent is the <img> tag in HTML.

Object Creation: The image player is displayed by first creating roRectangle and roImagePlayer instances, then calling SetRectangle() using the roRectangle instance as the argument.

...

See the Image Decryption section below for details on displaying encrypted images.

Warning
titleImportant

The image player no longer accepts "{A|A}" AES encryption keys (i.e. where the top and bottom 64 bits of the key are identical).

PreloadFile(image_filename As String) As Boolean

...