[Xerte] Inserting Special Characters

Julian Tenney Julian.Tenney at nottingham.ac.uk
Fri Jan 8 16:44:58 GMT 2010


AS3 I think. It's Selection.getCaretIndex() in AS2.

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: Friday, January 08, 2010 4:41 PM
To: Xerte list
Subject: RE: [Xerte] Inserting Special Characters

 


TextField.caretIndex
Or is that AS3?



________________________________

Subject: RE: [Xerte] Inserting Special Characters
Date: Fri, 8 Jan 2010 16:28:34 +0000
From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk

I have it working now, but there doesn't seem to be a way of detecting
when the position of the caret moves - i.e. the user uses the mouse to
put it somewhere else in the text - I can't seem to find a change event
for that. It works fine if you're typing away, hit the special button to
add your char, then carry on typing, but doing later might be
troublesome...

 

I really don't want to keep polling through onEnterFrame - sometimes you
have to.

 

Eventually this will be a separate swf that provides all the special
characters in about 14 languages, with a combo for language, then
buttons for each char, so I can probably put all the code in that SWF
and register that as the Selection listener rather than use rootIcon -
if I have to use onEnterFrame to poll, at least then I can turn it on
and off as focus shifts from input text fields to other objects and back
again, and only poll while an input field has the focus, 

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: Friday, January 08, 2010 4:14 PM
To: Xerte list
Subject: RE: [Xerte] Inserting Special Characters

 

I knew that would get your hackles up...

________________________________

Subject: RE: [Xerte] Inserting Special Characters
Date: Fri, 8 Jan 2010 16:10:10 +0000
From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk

The Flash 8 bugbase, but I doubt Adobe will be rushing to fix it...

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: Friday, January 08, 2010 4:09 PM
To: Xerte list
Subject: RE: [Xerte] Inserting Special Characters

 


>Nope - a String. Cosmic. 

 

Should I add it to the Xerte bugbase?

 

________________________________

Hotmail: Trusted email with Microsoft's powerful SPAM protection. Sign
up now. <http://clk.atdmt.com/GBL/go/196390706/direct/01/> 

 

________________________________

Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. Sign up
now. <http://clk.atdmt.com/GBL/go/196390709/direct/01/> 

 

________________________________

Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. Sign up
now. <http://clk.atdmt.com/GBL/go/196390709/direct/01/> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20100108/3a23dd22/attachment.html


More information about the Xerte mailing list