You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by vijaych1209 <vc...@sqad.com> on 2014/07/26 20:18:50 UTC

Apache flex 4.12.1 and 4.13 problem with spark textInput used with displayAsPassword

When a spark textInput is used with displayAsPassword=true in Apache Flex
4.12.1 and 4.13 throws "ReferenceError: Error #1065: Variable
flashx.textLayout.factory:TextLineFactoryBase::_pass0Lines is not defined."

Works well if either spark textInput is replaced with mx textInput or Flex
4.12 and earlier.

Not sure what the issue is.
Thanks



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Apache-flex-4-12-1-and-4-13-problem-with-spark-textInput-used-with-displayAsPassword-tp7400.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: Apache flex 4.12.1 and 4.13 problem with spark textInput used with displayAsPassword

Posted by Chris Martin <wi...@gmail.com>.
Hey just wanted to check back in on this one again.  Any updates?

Thanks,

Chris


On Mon, Jul 28, 2014 at 9:34 AM, Chris Martin <wi...@gmail.com> wrote:

> Thanks for the code snip! In your original email you said that there was
> an error being thrown when using a spark textinput with displayAsPassword
> set to true.  This error happens in either Flex 4.12.1 or 4.13.
>
> In your second email you said that the checkbox manages the
> displayAsPassword properly. I was able to run your example code and use the
> checkbox to toggle displayAsPassword without any exceptions being thrown.
> This was tested with Flex 4.12.1.
>
> What is the workflow that you used to get the exception that you
> mentioned? The exception being:
>
> "ReferenceError: Error #1065: Variable
> flashx.textLayout.factory:TextLineFactoryBase::_pass0Lines is not defined."
>
> Also I am confused if there is an issue or not, only because in the second
> email you mentioned that things worked as expected, but in the first you
> referenced an exception message that you got.
>
> Thanks,
>
> Chris
>
>
> On Sun, Jul 27, 2014 at 11:55 AM, vijaych1209 <vc...@sqad.com> wrote:
>
>> Sample.mxml
>> <http://apache-flex-users.2333346.n4.nabble.com/file/n7403/Sample.mxml>
>>
>>
>> Attached is the sample code. Try running it in flex 4.13 and the checkbox
>> manages the displayAsPassword property.
>>
>> Thanks
>>
>>
>>
>> --
>> View this message in context:
>> http://apache-flex-users.2333346.n4.nabble.com/Apache-flex-4-12-1-and-4-13-problem-with-spark-textInput-used-with-displayAsPassword-tp7400p7403.html
>> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>>
>
>

Re: Apache flex 4.12.1 and 4.13 problem with spark textInput used with displayAsPassword

Posted by Chris Martin <wi...@gmail.com>.
Thanks for the code snip! In your original email you said that there was an
error being thrown when using a spark textinput with displayAsPassword set
to true.  This error happens in either Flex 4.12.1 or 4.13.

In your second email you said that the checkbox manages the
displayAsPassword properly. I was able to run your example code and use the
checkbox to toggle displayAsPassword without any exceptions being thrown.
This was tested with Flex 4.12.1.

What is the workflow that you used to get the exception that you mentioned?
The exception being:

"ReferenceError: Error #1065: Variable
flashx.textLayout.factory:TextLineFactoryBase::_pass0Lines is not defined."

Also I am confused if there is an issue or not, only because in the second
email you mentioned that things worked as expected, but in the first you
referenced an exception message that you got.

Thanks,

Chris


On Sun, Jul 27, 2014 at 11:55 AM, vijaych1209 <vc...@sqad.com> wrote:

> Sample.mxml
> <http://apache-flex-users.2333346.n4.nabble.com/file/n7403/Sample.mxml>
>
>
> Attached is the sample code. Try running it in flex 4.13 and the checkbox
> manages the displayAsPassword property.
>
> Thanks
>
>
>
> --
> View this message in context:
> http://apache-flex-users.2333346.n4.nabble.com/Apache-flex-4-12-1-and-4-13-problem-with-spark-textInput-used-with-displayAsPassword-tp7400p7403.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>

Re: Apache flex 4.12.1 and 4.13 problem with spark textInput used with displayAsPassword

Posted by vijaych1209 <vc...@sqad.com>.
Sample.mxml
<http://apache-flex-users.2333346.n4.nabble.com/file/n7403/Sample.mxml>  


Attached is the sample code. Try running it in flex 4.13 and the checkbox
manages the displayAsPassword property.

Thanks



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Apache-flex-4-12-1-and-4-13-problem-with-spark-textInput-used-with-displayAsPassword-tp7400p7403.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: Apache flex 4.12.1 and 4.13 problem with spark textInput used with displayAsPassword

Posted by Chris Martin <wi...@gmail.com>.
Can you provide a short code snip that produces the error?


On Sat, Jul 26, 2014 at 11:18 AM, vijaych1209 <vc...@sqad.com> wrote:

> When a spark textInput is used with displayAsPassword=true in Apache Flex
> 4.12.1 and 4.13 throws "ReferenceError: Error #1065: Variable
> flashx.textLayout.factory:TextLineFactoryBase::_pass0Lines is not defined."
>
> Works well if either spark textInput is replaced with mx textInput or Flex
> 4.12 and earlier.
>
> Not sure what the issue is.
> Thanks
>
>
>
> --
> View this message in context:
> http://apache-flex-users.2333346.n4.nabble.com/Apache-flex-4-12-1-and-4-13-problem-with-spark-textInput-used-with-displayAsPassword-tp7400.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>