PDA

View Full Version : Reloading Image Objects at Runtime


Desmond
09-26-2003, 11:26 AM
<HTML> <HEAD> <TITLE>Reloading Image Objects at Runtime</TITLE> </HEAD> <BODY> <h3>Reloading Image Objects at Runtime</h3> <b>Document ID: IR10023</b> <hr> The information in this article applies to: <ul> <li>AutoPlay Media Studio 5.0 Standard Edition</li> <li>AutoPlay Media Studio 5.0 Professional Edition</li> </ul> <hr> <h3>SUMMARY</h3> <p>This article describes how to load an image into an image object at runtime </p> <h3>DISCUSSION</h3> <p> To load an image into your image object at runtime, use the Image.Load action.<br> <br> 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":<br> <br> <code>Image.Load("Image1", "AutoPlay\\Images\\example.jpg");</code><br> <br> To load this image at runtime, put the above code into the On Show event of the page containing your image object.</p> <h3>MORE INFORMATION</h3> <p>For more information please see the following topics in the AutoPlay Media Studio 5.0 help file:</p> <ul> <li><b>Program Reference | Actions | Image | Image.Load</b></li> </ul> <p>KEYWORDS: AutoPlay Media Studio 5.0, Actions, Image, Load, Runtime </p> <hr> <FONT SIZE=1> Last reviewed: September 26, 2003<br> Copyright © 2003 <A HREF="http://www.indigorose.com" target="blank">Indigo Rose Corporation</a>. All rights reserved.<br> </FONT> </BODY> </HTML>