Highlighted

dynamic text object not in library

New Here ,
May 06, 2020

Copy link to clipboard

Copied

I have created a button and a dynamic text object associated with the buton. The button appears in my library but the dynamic text object does not. Is this normal?

 

jjfjr

 

 

Views

66

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

dynamic text object not in library

New Here ,
May 06, 2020

Copy link to clipboard

Copied

I have created a button and a dynamic text object associated with the buton. The button appears in my library but the dynamic text object does not. Is this normal?

 

jjfjr

 

 

Views

67

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
May 06, 2020 0
Adobe Community Professional ,
May 06, 2020

Copy link to clipboard

Copied

it's expected you'd have problems referencing the textfield (using notation that would work for a child textfield of a movieclip), but it's not clear to me what problem you're describing because it's not clear what you mean by associating a text object with a button.

 

but if you create a textfield, it's not going to be in the library.  and if you convert it to a symbol, the symbol will be in the library and the textfield will be a child of the symbol, but the textfield still won't be in the library.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 06, 2020 0
New Here ,
May 07, 2020

Copy link to clipboard

Copied

Thanks for the response. Being new to Animate CC, I am trying to get the following code to work:

var root = this;
this.Conserve_Mass_Button.addEventListener("click",Conserve_Mass_ButtonFunction);
function Conserve_Mass_ButtonFunction()
{root.Dyn_Txt_obj_Conserve_Mass_Button.text = "Clicked"; }

When I click the Conserve_Mass_Button, I want to see "clicked" in the associated dynamic text object; Dyn_Txt_obj_Conserve_Mass_Button. It doesn't seem to work and I thought that the object not being in the library could be the problem.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 07, 2020 0