Package ilcd
Class Graphic

Public Method loadAnimatedGraphics

static void loadAnimatedGraphics(int animLoc, int animGraphicIndex)

Throws:

static void loadAnimatedGraphics(int animLoc, String animGraphicNameOrFilename)

Throws:

_INSERT_METHOD_SIGNATURE_HERE_

Description:

by index:

Parameter Range Description
animLoc 0 ... 7 index of the animation control
animGraphicIndex 1 ... max. graphic index index of the animated graphic

by name or filename:

Parameter Range Description
animLoc 0 ... 7 index of the animation control
animGraphicNameOrFilename ASCII chars (0x01 .. 0xFF) or
DOS filename (8.3 format)
name of the graphic or
name and path of the graphics file

Loads an animated graphic to the animation control.

Note

Example

Graphic.loadAnimatedGraphics(1, 4);

Graphic.loadAnimatedGraphics(2, "ANIMATION");

Graphic.loadAnimatedGraphics(3, "ANIM.RII");

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:

Control.getGraphicInfo(int)
Control.setGraphicAlignment(int, int, int)
Extra.setGraphicOffset(int)
Extra.setGraphicNameSuffix(String)
Extra.setGraphicNamePrefix(String)
Graphic.displayLocalGraphic(int)
Graphic.startOrRestartAnimation(int)
Graphic.Move Animation To Frame(int, int, boolean)