[Xerte] Re: img in text icon

Dave Burnett d_b_burnett at hotmail.com
Mon Feb 21 14:11:55 GMT 2011



Darn.
Thought we might have found a back door there.
phhh... 


From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Date: Mon, 21 Feb 2011 13:16:00 +0000
Subject: [Xerte] Re: img in text icon



Dunno then. 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 12:38
To: Xerte list
Subject: [Xerte] Re: img in text icon 
<img src="bullet.png" id="thing"/>

debug(fed.txt.thing);
_level0.engine.IFC.PG_MC21.DIS_MC1.txt.thing

inspect(fed.txt.thing);
//nothing

debug(fed.txt.thing._x);
0

fed.txt.thing._x = 200;
//nothing







From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Date: Mon, 21 Feb 2011 12:18:46 +0000
Subject: [Xerte] Re: img in text iconYou can debug(blah) when id=”blah”? The graphic ought to be positioned in its parent’s coordinate space, so text icon is at 100,100, graphic is at 20,20, global cords are 120,120. 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 12:14
To: Xerte list
Subject: [Xerte] Re: img in text icon 
If I gave it an id, <src='blah" id="blah"> the id shows up on inspect.
So that can be used.
You repositioned it? I couldn't get that to happen.

But the graphic doesn't seem to be related to the text anyway, so it's position will not reflect a position in the text stream, so no help on positioning a text input.

There must be some way of putting a token or something in there to avoid all sorts of "GetTextExtent" gyrations...

From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Date: Mon, 21 Feb 2011 10:02:37 +0000
Subject: [Xerte] Re: img in text iconYou can indeed address those graphics, but I have no idea how it figuring out the instance name. I ran it and got instance56, next run I get instance 70, so anticipating instance84 next, I successfully ran some code to re-position it. Those increments might not change in the browser, where the swf only runs once: it’s running many times in preview, and some garbage collection might not be happening between runs. I also couldn’t inspect it: unsure why – might have had its propsFlags set to hide stuff. Inspect is a function that takes an object, and I assume that whatever it is, it is an object… From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 19 February 2011 23:54
To: Xerte list
Subject: [Xerte] Re: img in text icon 
Where's it going? How's it handled?

If I do an inspect of icon.txt, I get something I don't recognize from previously:
instance780 : _level0.engine.IFC.PG_MC21.DIS_MC1.txt.instance780

That 780 increments up by 14 each time I run it, but even if I front run it:
inspect(fed.txt.instance794);
inspect(fed.txt.instance808);
inspect(fed.txt.instance822);

I get nothing.

That graphic has to be loaded somewhere?From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Date: Sat, 19 Feb 2011 22:42:17 +0000
Subject: [Xerte] Re: img in text iconI don't think you can't address it. If you can, then good plan, I like the way you think... From: xerte-bounces at lists.nottingham.ac.uk [xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett [d_b_burnett at hotmail.com]
Sent: 19 February 2011 21:05
To: Xerte list
Subject: [Xerte] img in text icon
If I have this is in a text icon:

<img src="bullet.png"/>here is a bullet point

Where is that .png being loaded?
Do I have access to it?

Here's my thought.
I have a series of random gapfills in sentences.
I insert a dummy png the shape of the gapfill into the string as needed.

Fill in the <img src="dummy.png"/> and call it <img src="dummy.png"/>

Then use the position of those dummies to position my actual text inputs.
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. 
This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. 

_______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. 
_______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. 
_______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. 
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte

This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation. 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110221/63ddd637/attachment-0001.html>


More information about the Xerte mailing list