[Xerte] Re: img in text icon

Julian Tenney Julian.Tenney at nottingham.ac.uk
Mon Feb 21 15:58:45 GMT 2011


breakApart() will make it easier to snap the text icon out to an array of movieclips, with one word in each one. If your end users aren't in control of the font size (and mostly, even if they are) it works OK.

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 21 February 2011 15:52
To: Xerte list
Subject: [Xerte] Re: img in text icon


I'm trying to gin up a proto to handle gapfills.

Each sentence may have ________ random gapfills of ______ length and _______.

I had originally hoped that the <img> embedded in the string would be positioned in the text flow, so I could trap it's x,y and determine where to place the text entries

Each sentence may have <img src="dummy.png" id="d1"/> random gapfills of <img src="dummy.png" id="d2"/> length and <img src="dummy.png" id="d3"/>.

But since it turns out the embedded images are not tied to the text flow in any way (besides a common parent), it is not going to help.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110221/867d9256/attachment.html>


More information about the Xerte mailing list