Copy link to clipboard
Copied
I have a Dynamic Text field inside a movieclip in my Adobe Animate - Canvas document. The MovieClip has an instance name of "shVendor" and the Dynamic Text has an instance name of "introVendor". So, the path to add/alter text in this should be "this.shVendor.introVendor.text = ...".
However, anytime I try to insert text into the dynamic textbox, I get an error "Cannot read property 'introVendor' of undefined."
If I pull the Dynamic Text field out of the MovieClip and target it directly with "this.introVendor.text", I can change it just fine. It is when I have it inside the MovieClip that I get this error.
I have done this in other Canvas documents with no problems whatsoever. I have stripped my file down to JUST these components and still get the error. What am I missing?
Hi Image_dr
you might have to untick Use Advanced Layers in Document Settings. If you use Animate CC v19.0 or 19.1.
Klaus
Copy link to clipboard
Copied
Hi Image_dr
you might have to untick Use Advanced Layers in Document Settings. If you use Animate CC v19.0 or 19.1.
Klaus
Copy link to clipboard
Copied
THANK YOU, KLAUS! I've been going crazy trying to figure this out! Unticking Use Advanced Layers did it!
Copy link to clipboard
Copied
Hi again
glad I could help you. If you've got a moment, can you please mark my reply as the correct answer? Firstly it marks you issue as answered and I get some points.
cheers
Klaus