Skip to main content
Known Participant
November 5, 2011
Question

Button problem

  • November 5, 2011
  • 1 reply
  • 600 views

If a button behaves correctly in regard to animation but doesn't link to another page, and leaves no compiler errors, what is the logical error? How can I solve this?

This topic has been closed for replies.

1 reply

Ned Murphy
Legend
November 5, 2011

One reason could be that you need to test on a server or at least using a browser.  Another reason might be you have no code associated with the button.  There is always some possibility that your code is doing what you tell it to do, but that isn't what you want it to do, so in that case you'd need to show your code and explain what you've assembled that ris supposed to work with it.  Another reason could be that you are using AS2 which very often will not produce an error message regardless of how many there are.

Known Participant
November 5, 2011

In actionscript 3, How do you view and edit a button symbol's instance name after you have made the button

symbol?

Ned Murphy
Legend
November 5, 2011

You do not view and edit an instance name using AS3.  Objects might have "name" properties, but those are not instance names in AS3.

An instance name is associated with an object you manually move from the library to the stage.  So to assign an instance name, after the instance exists on the stage you select the object and in the Properties panel you enter the instance name for it in the top textfield entry where it indicates "<Instance Name>"

If you want to edit the instance name, then you need to just change the name you assigned in the field I just described .

If you are talking about the name you assigned to an object in the library, that is not an instance name, but moreso just a reference for you to help you remember what an object might be.  If that is the name you want to change, just doubleclick it and it should be accessible for changing.