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 Wed, Jan 28, 2009 at 12:31 AM, Keith Reinfeld
<keithreinf...@comcast.net> wrote:
> 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 SWF file, or the linkage identifier
> for a movie clip symbol in the library.
>
> So, if you have a movieclip in your library with a linkage identifier of
> 'DropCap' (associated with a class 'com.myclasses.DropCap') you would use:
>
> var tString:String  = "<img src='DropCap' id="DC0"
> style='padding:0px;margin:0px'/>Lorem ipsom yadda yadda...";
> myTextField.htmlText = tString;
> myTextField.DC0.txt.text = "Z";
>
>
> Regards,
>
> -Keith
> http://keithreinfeld.home.comcast.net
>
>
>
>
> _______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to