RE: [Flashcoders] inserting an MC in a TextField (and speaking to it)

2009-01-28 Thread Keith Reinfeld
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

Re: [Flashcoders] inserting an MC in a TextField (and speaking to it)

2009-01-28 Thread Matt S.
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

RE: [Flashcoders] inserting an MC in a TextField (and speaking to it)

2009-01-27 Thread Keith Reinfeld
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

RE: [Flashcoders] inserting an MC in a TextField (and speaking to it)

2009-01-27 Thread Keith Reinfeld
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