KB-32488: Objects moving on screen.

Question:

How can I make objects move on screen?

Solution:

To move an image on screen, you must:

  1. Insert an object onto screen.
  2. Create a Demo Tag.
  3. Establish its upper and lower limits (trajectory’s starting and ending points).
  4. Create a script in Demo Tag’s OnValueChanged event that links the image on screen to X property (object’s left coordinate, in pixels), and match it to the Demo Tag’s figure.
Note: Attached to this article is a sample application illustrating these procedures.

Attachments:

Animation

Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

Leave a Reply

Your email address will not be published.Required fields are marked *