FMX.Animation-Multi-Platform Sample

From RAD Studio XE2 Code Examples
Jump to: navigation, search

This sample represents a FireMonkey 3D animation.

Contents

Location

You can find the Animation-Multi-platform sample project at:

Description

This application uses several visual objects on a form and animates them using TBitmapAnimation, the TFmxObject.AnimateFloat method, and the TFmxObject.AnimateFloatDelay method.

How to Use the Sample

  1. Navigate to Start > Programs > Embarcadero RAD Studio XE2 > Samples and either open the Animation-Win-Mac-iOS.groupproj file, or go to the desired folder (Desktop/iOS-iPad) and select the AnimationApp.dproj/iOSAnimationDemo.dproj file.
  2. Press F9 or choose Run > Run.

Classes

FireMonkey Animation represents the main window of the sample. It contains the following components:

Implementation

  • The BitmapAnimation subordinated to the first Image object makes the looping transition between two bitmap images.
  • When the user presses the Start button, all the images are animated through their inherited AnimateFloat and AnimateFloatDelay methods.

Uses

See Also

Code Examples and Samples

Personal tools
Previous Versions