Hi T-San,

Sounds like a cache problem somewhere.  I’m guessing you are using an IDE.  The 
IDE is pointing to a set of SWCs usually from some frameworks/libs or 
frameworks/js/libs folder.  But often those SWCs are loaded at IDE startup and 
not reloaded after compiling a library project, and also the compilation of a 
library project from the IDE may not copy the SWC from the library project’s 
target folder to the libs folder.

When you get around to testing the code, a common mistake is to not clean out 
the bin and bin-debug and other output folders when compiling the application.

HTH,
-Alex

From: Takeshita Shoichiro <[email protected]>
Reply-To: "[email protected]" <[email protected]>
Date: Wednesday, December 11, 2019 at 8:53 PM
To: "[email protected]" <[email protected]>
Subject: Re: displayAsPassword attribute does not work

Alex, I did the following:

1. Copy mx’s displayAsPasswod section of TextInput.as to the end of spark’s 
TextInout.as.

2. Add override in front of public function get displayAsPassword() and public 
function set displayAsPassword().

3. Add import org.apache.royale.html.accessaries.PasswordInputBead.

It seems these functions are not overdriven.  When moving the mouse over the 
dusplayAsPassword attribute, the pop up still points SkinnableTextBase.  And 
the password column in the HTML field is not yet masked. Did I miss something?  
Thanks.

2019年12月6日(金) 7:17 Alex Harui <[email protected]<mailto:[email protected]>>:
Thanks in advance for trying.

You can try following the “Squashing Bugs” instructions 
https://royale.apache.org/get-involved/<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Froyale.apache.org%2Fget-involved%2F&data=02%7C01%7Caharui%40adobe.com%7C18d8eb29d66a4d4141e008d77ebf3d9e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637117232198453679&sdata=TGKAAc4TUb85qqXxBjxY1RFENvradun8vZGXVCBZHPc%3D&reserved=0>

Let us know if the instructions need improvement as well.

-Alex

From: Takeshita Shoichiro <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Thursday, December 5, 2019 at 2:05 PM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Re: displayAsPassword attribute does not work

Alex, OK.  I will try.  I need some time to understand the process.

Do I need to create an issue for this error?
I think I should do the FORK before doing the work at my terminal, correct?

Thanks.

ST

On Fri, Dec 6, 2019 at 1:53 AM Alex Harui 
<[email protected]<mailto:[email protected]>> wrote:
It hasn’t been implemented in Spark TextInput yet.  You should be able to copy 
the code from MX TextInput into Spark TextInput (as an override of 
SkinnableTextBase’s displayAsPassword).  It would be good if you can learn how 
to modify the framework code and provide pull requests.  Then you will be less 
dependent on other volunteers in the future.

Thanks,
-Alex

From: Takeshita Shoichiro <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Thursday, December 5, 2019 at 4:12 AM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: displayAsPassword attribute does not work


Hi,

displayAsPassword attribute does not work with the following markup.  Did I 
miss something?

===============================================================================


<?xml version = "1.0" encoding = "utf-8"?>

<s:Application xmlns:fx = 
"http://ns.adobe.com/mxml/2009<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&data=02%7C01%7Caharui%40adobe.com%7C18d8eb29d66a4d4141e008d77ebf3d9e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637117232198453679&sdata=AjCz70aTx3QTXhd96qcJDObAfOJWvdc6ayt2knJHX4g%3D&reserved=0>"

               
xmlns:s="library://ns.apache.org/royale/spark<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fspark&data=02%7C01%7Caharui%40adobe.com%7C18d8eb29d66a4d4141e008d77ebf3d9e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637117232198463675&sdata=%2BMw%2F68uQqAswkw29IaI%2F6FjQlwg5Kk%2FgPsjboCdWv04%3D&reserved=0>"

               
xmlns:mx="library://ns.apache.org/royale/mx<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fmx&data=02%7C01%7Caharui%40adobe.com%7C18d8eb29d66a4d4141e008d77ebf3d9e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637117232198474147&sdata=enmcPpgalyTgCP5da%2BphPk0sLvNC3RlydrGua0y9q%2FI%3D&reserved=0>"
 minWidth="1024" minHeight="768">

    <s:layout>

        <s:BasicLayout/>

    </s:layout>



    <s:VGroup x="50" y="50">

        <s:TextInput id="textA"

            text="royale007"

            editable="true"

            displayAsPassword="false"

            maxChars="10" />

        <s:TextInput id="textB"

            displayAsPassword="true" />

    </s:VGroup>



</s:Application>



S. Takeshita



--
Shoichiro Takeshita
武下 祥一郎
--
Shoichiro Takeshita
武下 祥一郎

Reply via email to