esday, January 28, 2009 6:41 AM
> To: Flash Coders List
> Subject: Re: [Flashcoders] inserting an MC in a TextField (and speaking to
> it)
>
> It did work, actually, in terms of inserting it into the TextField, i
> guess because the class name effectively functions as the Libr
It did work, actually, in terms of inserting it into the TextField, i
guess because the class name effectively functions as the Library
identifier. However, your tip regarding "ID" did the trick for
communicating with it, since I still couldnt modify it, the way I had
it. :)
thanks,
.matt
On We
Matt,
I s'pose I focused too much on the second part of your question in my
previous message. So anyway, if this
> src='com.myclasses.DropCap'
actually works then more power to ya!
If not:
ActionScript 3.0 Language and Components Reference:
src: Specifies the URL to an image or SW
Matt,
You need to set the img tag's id attribute:
var tString:String = "Lorem ipsom yadda yadda...";
Then it's:
myTextField.htmlText = tString;
myTextField.DC0.txt.text = "Z";
HTH
Regards,
-Keith
http://keithreinfeld.home.comcast.net
> -Original Message-
> From: flashcoder
4 matches
Mail list logo