[Xerte] text input focus

Dave Burnett d_b_burnett at hotmail.com
Fri Aug 27 13:54:57 BST 2010



 
OK, in F8 in a browser trying an initial focus on load does not work because the F object needs to be given focus first.
Add a "Start" button prior to the setFocus attempt and of course it starts to work because the piece now has focus.
There is a bug in Flash whereby when you set focus to an empty field you get no caret, but there is a workaround to that.

So the identical setup in Xerte does not want to work.
It is recognizing when the field is gaining or losing focus,  but Selection.setFocus in the browser does not give the textfield focus i.e. typing does not appear.

:-/


Subject: RE: [Xerte] text input focus
Date: Thu, 26 Aug 2010 19:42:40 +0100
From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk










Tried taking Xerte out of the picture and built a simple flash piece?
 
At least that will tell us whether the problem is on our side of things or not...



From: xerte-bounces at lists.nottingham.ac.uk on behalf of Dave Burnett
Sent: Thu 26/08/2010 19:31
To: Xerte list
Subject: RE: [Xerte] text input focus


That it doesn't work in a browser?

I stripped it down to bare bones, no embedded fonts, nothing but a script created text field and a few event catchers.
Works fine in authoring mode, no go in browser.





Subject: RE: [Xerte] text input focus
Date: Thu, 26 Aug 2010 13:14:24 +0100
From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk







If you’re trying to set the focus to the textfield, the movie will get the focus anyway.
 
What does a simple example tell us?


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/20100827/38931e70/attachment.html


More information about the Xerte mailing list