I'm trying to do the following:
I have an empty movieClip in my stage called zonaCentral_mc. I use a function that has this code:
zonaCentral_DescripcionProceso = new zonaCentral_DescripcionProceso_mc();
zonaCentral_mc.addChild(zonaCentral_DescripcionProceso);
It loads the MovieClip zonaCentral_DescripcionProceso from the library into the empty movieclip zonaCentral_mc. The loaded MC has a dynamic textfield called titulo_text inside. How can I change that text? I'm trying:
this["zonaCentral_mc"].getChildByName("zonaCentral_DescripcionProceso").getChildByName("titulo_text").text = "hello";
but I get the error: #1010: One term is not defined and has no properties
I've also tried the dot notation this["zonaCentral_mc"].zonaCentral_DescripcionProceso.titulo_text.text with the same result.
Am I accessing it the wrong way? Why isn't it defined, I believe that they're all defined and in the stage when I call the above statement.