Reloading Image Objects at Runtime

Reloading Image Objects at Runtime

Document ID: IR10023
The information in this article applies to:
  • AutoPlay Media Studio 5.0 Standard Edition
  • AutoPlay Media Studio 5.0 Professional Edition

SUMMARY

This article describes how to load an image into an image object at runtime

DISCUSSION

To load an image into your image object at runtime, use the Image.Load action.

As an example, we will load the image example.jpg (from the Images directory of the project's distribution folder) into the image object "Image1":

Image.Load("Image1", "AutoPlay\\Images\\example.jpg");

To load this image at runtime, put the above code into the On Show event of the page containing your image object.

MORE INFORMATION

For more information please see the following topics in the AutoPlay Media Studio 5.0 help file:

  • Program Reference | Actions | Image | Image.Load

KEYWORDS: AutoPlay Media Studio 5.0, Actions, Image, Load, Runtime


Last reviewed: September 26, 2003
Copyright © 2003 Indigo Rose Corporation. All rights reserved.