Skip to main content
February 6, 2011
Question

password * input text, TextContainerManager

  • February 6, 2011
  • 1 reply
  • 759 views

Hello,

Does anyone know how I can make my input field a password style input field?

I have an AS3 project using TextContainerManager.

TextContainerManager is not the problem in itself, because I can have a custom EditManager or I have reference to the textFlow.

Thanks,

Benjamin

And I don't know why the forum search field does not search for my expression in this particular forum. It does search on the full forum which ends up with messy and completely irrelevant search result.

This topic has been closed for replies.

1 reply

Adobe Employee
February 8, 2011

The flex framework supports this - I'd suggest looking at that code.

Richard

February 17, 2011

I have been trying to grab some code from the Flex framework, from RichEditableText.as. Half of the code has been adopted successfully, but the PasteOperation is weird.


There is the handlePasteOperation(op:PasteOperation) function, but I have a very strange problem.

var pastedText:String = extractText(scrap.textFlow);

The compiler is saying, that TextScrap.textFlow is an inaccesible property, but the TextScrap class does have a public textFlow property:

tlf_internal function get textFlow():TextFlow

{

     return _textFlow;

}

          

public function get textFlow():TextFlow

{

     return _textFlow;

}

I also tried hacking it using: scrap["textFlow"], but when I try to paste some text, it is saying it is a null property.

Any idea?