How do I...?

Duplicate Objects

To duplicate an Object in AutoPlay Media Studio:

  1. Select the desired object (left click on it once).

  2. Choose Edit > Duplicate from the menu. (You can also press Ctrl+D if you prefer using the keyboard.)

Note: This duplicates the object, including all property settings and all event scripts. All object references duplicated are absolute, not relative.

To duplicate an object using relative references, use "this" instead of the object's name in all scripts. 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":

  1. Insert the following code into the On Enter event of your button:

Button.SetText(this, "Mouse");

  1. Insert the following code into the On Leave event of your button:

Button.SetText(this, "Cat");

Note: When this object is duplicated, the new object's text will change, and leave the original's text intact.