all groups > flash actionscript > march 2005 >
You're in the

flash actionscript

group:

TextArea cont'd



TextArea cont'd Tim Robertson
3/10/2005 11:29:15 PM
flash actionscript: I posted yesterday and have figured out a bit more but still need help...
It seems that if I place an instance of a TextArea on my main stage it works
fine... If I create TextArea instance in the exact same way but placed in a
movieclip on my main stage then I can no longer see the text. The scrollbar
and border remains but I can see any of the text...

Is this normal?
Re: TextArea cont'd rlc5611
3/11/2005 4:42:20 AM
I didn't see your other post. How are you assigning the text? Are you sure you
are giving it the correct path now that the path has changed? Are you trying
to mask the text field? Either one of those needs to be fixed if it is the
problem.
Re: TextArea cont'd rlc5611
3/11/2005 4:43:09 AM
Re: TextArea cont'd Tim Robertson
3/11/2005 7:47:49 AM
Sorry about the multiple posts

I have tried to hardcode the variable to see if it's a problem with the
incoming data from the php or how I was referencing it. For that test I
eliminated the exernal data all together and put a value directly in the
'text' value of in the component parameter inspector. I figured if I put in
the value directly there it should eliminate the possibility of an incorrect
path somewhere.. No?
Re: TextArea cont'd Peter Blumenthal
3/11/2005 9:31:08 AM

[quoted text, click to view]

Which is a good reason to continue the same thread for the same subject -
makes it easier for people to help you. the easier it is to help, the more
likely it is to happen

Re: TextArea cont'd Tim Robertson
3/12/2005 12:05:48 AM
Yes I am (or was) trying to mask the movieclip that contained the textArea,
I've stopped doing that and now it works. Does this mean that it is
impossible to mask a movieclip that contains a textArea or is there just
special code that needs to be used that I don't know about?

Thanks again

On 3/10/05 11:42 PM, in article d0r7jc$a3i$1@forums.macromedia.com,
[quoted text, click to view]
Re: TextArea cont'd rlc5611
3/12/2005 8:31:25 AM
Since the text area is inside a movie clip (by default actually), you should be
able to mask it if you set the mask dynamically (use setMask per its proper
syntax). If you want to set the mask in the timeline authoring, you will have
to embed the fonts but I seem to remember that embedding fonts in a component
requires some kind of special trick. I could be wrong about that because it has
been to long since I saw that to remember anything about it. I would have to do
a google search.
Re: TextArea cont'd Tim Robertson
3/12/2005 3:19:16 PM
Thanks, I'll just stick with not using the mask for now

On 3/12/05 3:31 AM, in article d0u9ct$4d4$1@forums.macromedia.com, "rlc5611"
[quoted text, click to view]
AddThis Social Bookmark Button