[Xerte] Xerte3: getting the name of an icon
Julian Tenney
Julian.Tenney at nottingham.ac.uk
Tue Jun 15 11:38:23 BST 2010
Shouldn't you ne checking textArea.text == theAnswer
?
Not sure how the icon's name will help you there...?
-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Peter
Huppertz
Sent: 15 June 2010 10:01
To: Xerte discussion list
Subject: [Xerte] Xerte3: getting the name of an icon
Is it possible to get the name of an icon using actionscript? If I try
debug(myicon.name) it displays an internal name like "TextAreaIcon196"
but not the given name I see in the tree.
I need this to check if a TextArea is filled with the correct answer and
just wanted to compare name == value, to make it easy. Don't want to use
IconID for this, cause I can't guarantee that the name is unique in my
piece. Also alternative ways are welcome!
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
More information about the Xerte
mailing list