Announcement

Collapse
No announcement yet.

Renaming objects breaks links?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Renaming objects breaks links?

    Within AMS I have some objects based on a template - objects such as Note Exit, Text Exit, Note Install, Text Install etc. I have the Note objects configured to be hidden to start, and they are then enabled via mouseover events.

    If I rename the objects (e.g. Note Exit becomes Note Close), the Page Open events lose the links and I have to manually recreate them.

    Is this just something I'm doing wrong?

    Many thanks.

  • #2
    Re: Renaming objects breaks links?

    Nope. If you change the name of an object, you will need to refer to that new name whenever you want to perform an action on that object...just like you noted.
    --[[ Indigo Rose Software Developer ]]

    Comment


    • #3
      Re: Renaming objects breaks links?

      That's a shame. AMS obviously keeps a note of all the objects on a page, so it's a shame that it links them by name rather than by an object ID.

      Perhaps for version 4?....

      Comment


      • #4
        Re: Renaming objects breaks links?

        You know, that might be a friendlier way to do it. I'll submit it to the dev team.

        Incidentally, in 4 you could use a design-time constant for the names in your template instead, and then change those constants in your Project Settings.
        --[[ Indigo Rose Software Developer ]]

        Comment

        Working...
        X