[Xerte] Xerte3: Links in TextFields

Julian Tenney Julian.Tenney at nottingham.ac.uk
Mon Jun 7 12:21:06 BST 2010


OK, it's fixed now. Your old text fields will break! Under the hood the
TextIcon stores the text on the text attribute, rather than the node
itself, i.e. <TextIcon text="blah"/> rather than
<TextIcon><![CDATA[blah]]></TextIcon>

I also fixed that thing with the properties panel disappearing if you
resize the application window;

I added the icon type to the title of the properties panel, so you know
what type of icon you are editing, and added it's icon too, and rebuilt
everything.

I also updated the Xerte and Xerte Toolkits files, so everything on the
web site is now up to date with the files in the .svn,

J

-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 June 2010 09:48
To: Xerte discussion list
Subject: RE: [Xerte] Xerte3: Links in TextFields

I know why and need to fix it: I am storing text as the xml node: I need
to store it as an attribute, otherwise you can't add child nodes (i.e.
the event handler) to the text icon,

Leave that with me...

-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Peter
Huppertz
Sent: 31 May 2010 09:55
To: Xerte discussion list
Subject: [Xerte] Xerte3: Links in TextFields

I created a Text Icon in Xerte containing a link: <a
href="event:myEvent">Linktext</a> (docu:
http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/text
/TextField.html#event:link)
I also created an EventHandler "eventName: link" as a child of the Text
Icon which should output the link text: debug(event.text);
It outputs the text as expected. But also the text "debug(event.text)"
is added to my Text Icon. Does anyone know why?

Peter


==================================
Peter Huppertz
E-learning and IT Specialist
International Centre for Asset Recovery
Basel Institute on Governance
Phone: +41 61 205 55 18
Fax: +41 61 267 55 19

_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte


More information about the Xerte mailing list