When using Flash 8, you can use the Method BitmapData.getColorBoundsRect, that will be faster.

Janosch



Robert Gordon schrieb:

Hey List!

I'm trying to find a way to determine the stage coordinates of a character
within a dynamically constructed text field (multiline, wrapping, html
formated). I've experimented with Erik's TextFieldExtension - but the html
formatting & wrapping seem to throw it off. Anyone have another solution?
One thought I had was to recolor the field to white, colour the character of
interest to non-white, convert to a bitmap object and walk it pixel by
pixel. Can't imagine that's going to be very efficient though...

Thanks in advance for any suggestions,

r o b


| Robert Gordon
| The Article 19 Group Inc.
| phone: 514.938.8512
| email: [EMAIL PROTECTED]
| http://www.article19.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to