I know that while you can use the <img> tag in html text fields to load images or symbols, that the image must be left- or right-aligned with the text, and the text wraps around it. I have a need to have small images *inline* with the text, however. I'm wondering if anyone's worked out a hack to make this work (or at least appear to work).

The first thing that comes to mind is to place some other character where the image will go, search for it, figure out its position, and then attach the image on top of it in the appropriate place. However I'm not sure if it's possible to find the exact position of a character in a TextField.

I recall seeing someone demo just that thing on a blog post somewhere, but I haven't bookmarked it, and I think it was probably AS3 anyway (this needs to run in FP8). Flash Paper Viewer is able to highlight search results in this way, but I believe there's some very Flash Paper specific things going on there (having worked on the first version of it myself).

Any clues would be much appreciated.

thanks,
-josh
_______________________________________________
[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