Flash - call dynamic textfield in from within movieclip

Posted on 2011-03-22
Medium Priority
Last Modified: 2012-05-11
I'm trying to call a dynamic textfield from within a movieclip.

So I've got a movieclip called "txtObject_mc" and within that object I've got a textfield called "txtObject_tf".

The code
var txtObject:TextField = txtObject_tf;

Open in new window

gives an error saying that txtObject_tf does not excist. please help!
Question by:ErnstJacobs
LVL 17

Accepted Solution

deepanjandas earned 2000 total points
ID: 35190613
var txtObject:TextField = txtObject_mc.txtObject_tf as TextField;

Warm Regards
Deepanjan Das

Author Closing Comment

ID: 35190722
Thank you, you're great :)

Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Today, unlike web development, the mobile landscape is complex enough for a software engineer and Android is posing more challenging environment thanks to its fragmentation issues on hardware and software fronts.
This article describes and provides a custom-made tool I wrote to give businesses a means of identifying commercial music content, without having to expend too much effort. Business recordings are easily identified from possibly illegal music files …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question