PDA

View Full Version : Duplicating Objects


Desmond
10-01-2003, 04:42 PM
<HTML> <HEAD> <TITLE>AutoPlay Media Studio 5.0 Knowledge Base</TITLE> </HEAD> <BODY> <h3>Duplicating Objects</h3> <b>Document ID: IR10065</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 duplicate objects in the design environment.</p> <h3>DISCUSSION</h3> <p>To duplicate an Object in AutoPlay Media Studio 5.0:</p> <ol> <li>Select the desired object (left click on it once).<br> <br> </li> <li>Choose Edit > Duplicate from the menu. (You can also press Ctrl+D if you prefer using the keyboard.)<br> This duplicates the object, including all property settings and all event scripts. All object references duplicated are absolute, not relative.</li> </ol> <p>To duplicate an object using relative references, use "this" instead of the object's name. As an example, we will create a button object that on mouseover changes it's text to "mouse", and on mouseout changes it's text to "cat":</p> <ol> <li>Insert the following code into the On Enter event of your button:<br> <code> Button.SetText(this, "Mouse");<br> <br> </code></li> <li>Insert the following code into the On Leave event of your button:<br> <code> Button.SetText(this, "Cat");<br> </code><br> When this object is duplicated, the new object's text will change, and leave the original's text intact.</li> </ol> <p>KEYWORDS: AutoPlay Media Studio 5.0, Object, Duplicate, Copy </p> <hr> <FONT SIZE=1> Last reviewed: October 1, 2003<br> Copyright © 2003 <A HREF="http://www.indigorose.com" target="blank">Indigo Rose Corporation</a>. All rights reserved.<br> </FONT> </BODY> </HTML>