This content has been marked as final. Show 6 replies
The TextArea is a component and that means that when you reference the instance name you are referencing the component and not the actual textfield inside the component. If the TextArea component code does not offer you a direct property to the textfield instance name then you will have to look through the actual component code to see what the Adobe (Macromedia) programmers named it. Then based on how it is generated or created you might be able to reference it like:
However, it may be buried even deeper in another movieclip so check the code to be sure.
you can't go into the code of a TextArea and img tag is not compatiable with flash
Just looked at the code TextArea.as. Try the following line of code:
trace ("Via TextArea, I can identify: " + TextAreaPane.label.nineties);
And see if it gives you the results you were looking for.
You can look at the AS for TextArea and yes you can use the <IMG> tag in Flash.
The code for TextArea is located at:
C:\Program Files\Macromedia\Flash 8\en\First Run\Classes\mx\controls\TextArea.as
Many thanks for the clue and the amendments -- once I had finished a late night of it, a cleanup chore unearthed a magazine that's had me engrossed for a day and a half and produced the appearance of ignoring your replies; actually the computers have been off.
I won't be back to it for another few hours at least, but wanted to acknowledge the support; the hints in your message look like they'll be the beginning of another day at it; I'll send word when there's some kind of results.
I sent the same message to Adobe in their LiveDocs section, a forum where they variously now tolerate people saying 'How d'ya do this', 'How d'ya do that', then now reply that that isn't the right forum for how-to's, but rather for documentation problems. Well, since the intro to TextArea says that it supports all the html that Flash does, I added in the message that the inability to do the dot-addressing-image-access that they explain under id is a discrepancy, so qualifies to post even if they're in their rule-adhering mood, but it hasn't appeared yet -- either under review or discarded.
The reason I'd chosen TextArea was that the text column will sometimes be long, and it would be nice to get the overage out of sight by having a window that shows only the window's worth, hiding what's above and below. (As you probably know, since attempting to cover text in a dynamic field with a mask causes all of it to disappear, that isn't an option.) The other night I felt I'd hit an impassable wall with Flash; in resigning myself to use the Dynamic Text field, I decided to cover the text overage with a translucent screen of color, and be it due to having no choice that it may, the desaturated stretches of text above and below would add ornament and atmosphere to the screen, a faintly techno note. Since there will often two to four of these scrolling fields going, an intricate, happenstance pattern would develop that might turn out to be nice.
But if the avenue you've opened starts working, I'll have my choice between the two objects.