[Xerte] Caputuring / Storing Data From Text Fields
Tenney Julian
Julian.Tenney at nottingham.ac.uk
Tue Apr 15 13:36:59 BST 2008
You can also use that to set any other properties you want for a Flash
textField. I find myself doing that to set things like border,
borderColor, background, backgroundColour, restrict, textFormat,
newTextFormat etc etc. Look up the textfield properties in the lfash
online documentation (for mx2004 / Flash 8) There are so many ways you
want a text entry box to appear its best to script it.
Add the textEntry to the interaction as usual, then set the interaction
perpetual property to 1. Add a script underneath the interaction where
you do this stuff,
cheers,
________________________________
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Paul
Beckwith, AC&S Ltd
Sent: 15 April 2008 13:29
To: 'Xerte discussion list'
Subject: RE: [Xerte] Caputuring / Storing Data From Text Fields
Thanks Julian, works a treat...
Paul
________________________________
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Tenney Julian
Sent: 15 April 2008 13:16
To: Xerte discussion list
Subject: RE: [Xerte] Caputuring / Storing Data From Text Fields
give the response an rs property, give it a value like
myTextField
then get the text using myTextField.text
Why rs and not id? Because with a response there are two
'things' in action: the response itself, usually a movieclip or button
and the page of content that is presented when the response is matched.
The id refers to the page, just as it does for any other page type. I
needed a name for the property of the control and came up with rs for
'response'.
________________________________
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Paul
Beckwith, AC&S Ltd
Sent: 15 April 2008 13:10
To: xerte at lists.nottingham.ac.uk
Subject: [Xerte] Caputuring / Storing Data From Text
Fields
Hi all,
Can anybody tell me how to access the data that has been
entered into a text field by a user?
Is this stored in specifically in a set variable (if so
where) or do I need to declare the variable that will capture the data
myself (if so how!)?
Thanks in advance...
Aerospace Consulting & Services Ltd
Engineering, Training, Consultancy <http://www.acns-gmbh.com/>
Paul Beckwith
Multimedia Developer
AC&S LTD
35A Victoria Road East
Thornton-Cleveleys
Lancashire
FY5 5BU
UK
paul.beckwith at acns-group.com <mailto:mark.tomlinson at acns-group.com>
www.acns-group.com <http://www.acns-group.com/>
tel:
fax: :
+44 1253 855 997
<http://www.plaxo.com/click_to_call?lang=en&src=jj_signature&To=%2B44+12
53+855+997&Email=mark.tomlinson at acns-group.com>
+44 870 762 6818
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20080415/04d6b27a/attachment.html
More information about the Xerte
mailing list