QUICK NAVIGATOR
PRODUCTS
TECHNOLOGIES
DEVELOPMENT TOOLS
* News
* Java Media Framework
* Intel Animation for Java
* Intel Spatial Audio for Java
* Runtime Software License
* SDK Software License
* System Requirements
* Download Area
* Documentation Online
* Gallery
* General FAQ
* Support Information

[INTEL NAVIGATION HEADER]

Intel Animation for Java* Package Tutorial

Lesson 5:  Using DynamicDataSprites



This applet shows an Elvis sprite which is a DynamicDataSprite. StaticDataSprites can have only one AnimImage (a SingleImage or an ImageSequence). DynamicDataSprites can have more than one AnimImage, and you have control over which AnimImage is displayed.

The DynamicDataSprite in this applet has three AnimImages: a SingleImage (Elvis Image), and two ImageSequences (Wave Sequence and Walk Sequence). Click the buttons to change the AnimImage for the DynamicDataSprite. AnimImages are changed by calling

DynamicDataSprite.setData(AnimSource);

Previous Lesson Tutorial Contents Next Lesson

View Source

 

This page was last updated on Feb 11th, 1997.

Legal Stuff

Free Web Hosting