AutoPlay Media Studio 5.0 Knowledge Base

Duplicating Objects

Document ID: IR10065
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 duplicate objects in the design environment.

DISCUSSION

To duplicate an Object in AutoPlay Media Studio 5.0:

  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.)
    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. 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");

  2. Insert the following code into the On Leave event of your button:
    Button.SetText(this, "Cat");

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

KEYWORDS: AutoPlay Media Studio 5.0, Object, Duplicate, Copy


Last reviewed: October 1, 2003
Copyright © 2003 Indigo Rose Corporation. All rights reserved.