Load Animated Graphics

by index:

\i g L byte::anim_loc word::anim_graph_index

Parameter Type Range Description
anim_loc byte 0 ... 7 index of the animation control
anim_graph_index word 1 ... max. graphic index index of the animated graphic

by name:

\i g L byte::anim_loc by_name::anim_graph_name

Parameter Type Range Description
anim_loc byte 0 ... 7 index of the animation control
anim_graph_name by_name ASCII chars (0x01 .. 0xFF) 0-terminated graphic name

by filename:

\i g L byte::anim_loc by_file::anim_graph_filename

Parameter Type Range Description
anim_loc byte 0 ... 7 index of the animation control
anim_graph_filename by_file DOS filename (8.3 format) name and path of the graphics file

Loads an animated graphic to the animation control.

Note

Response: [ACK]

Example

\igL\1\D4
\igL\2\mANIMATION\0
\igL\3\f/ANIM.RII\0

Loads the animated graphic with index 4 into animation control #1, graphic "ANIMATION" into control #2 and graphic "ANIM.RII" from the SD card's root folder into control #3.

See also:

Get Graphic Info
Set Graphic Alignment
Set Graphic Offset
Set Graphic Name Suffix
Set Graphic Name Prefix
Display Local Graphic
Start or Restart Animation
Move Animation To Frame