Document Class, and Accessing Properties.
I'm currently working on an interactive app, (site) which requires me to modify a few textfields, and change images dependant on the user choice (using mouseevent). This is a separate module, thus I'm posting the question in here instead:
there are three images, that are lined up, with a textbox next to them. When a image is chosen, and enlarges, the text changes with the chosen image, according to XML.
The textFields, 'text_title', 'text_description' are contained in a movieclip, called 'textbox'.
This has been built in the Flash IDE (CS3) named info.fla/swf, which refers to a Document class 'com.info', made in Flex Builder 3...
I attempted to modify the textfields using this:
textbox.txt_title.text = "Loading";
textbox.txt_desc.text = "test";
But, I was unable to at first to change the text using the document class, as it gives "1120: Access of undefined property <variable>".
I personally trying to stay away from emdedding symbols and placing everything manually using pure actionscript 3.0, as,
previously noticed it took too long to do, even if it worked more efficiently than the rest.
Is there something I'm doing wrong?