Skip to main content
Known Participant
January 23, 2012
Question

Manipulating spark TextInput text through TextOperationEvent

  • January 23, 2012
  • 1 reply
  • 1347 views

Hi,

I'm trying to make a component that "format as you type" based on spark TextInput.

I'm using TextOperationEvent.CHANGING and the available operations (InsertOperation, DeleteOperation, and so on...)

My problem is that I can manipulate the inserted or delted text but *not* the text already set in the control. And more important, I want to avoid a textChange event

or valueCommit since I don't want validation occurs until I finish the editing.

I'm looking for a way to manipulate all text and I think the event is right (CHANGING), but I would need some example tp see how I can manipulate more text that the one inserted or delete

in the that operation. Instructions in the class says I can manipulate and delete more text, but I was trying and digging in TLF and I can't see the way.

Hope some one could help me and let me know where I can look or some sample to try.

Thanks in advance!

Carlos

This topic has been closed for replies.

1 reply

Known Participant
January 23, 2012

Hi

Im also working on something similar (well its scheduled to be done this week)

So, if you get any information on this would you mind passing it on to me

Feel free to contact me directly and maybe we could share what we find

Thanks and good luck

glenn

tinylion uk

info@tinylion.co.uk

Known Participant
January 23, 2012

Hi Glenn,

I was investigating how to do this during this weekend with no luck. So I think I can't help too much until someone at Adobe or someone that had a better knowledge of TLF tell us something.

Hope we have luck and someone respond with some kind of solution or way to investigate...

Known Participant
January 23, 2012

Thanks Carlos

I’ll post here and tell you how I get on.

cheers