You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@royale.apache.org by Serkan Taş <se...@likyateknoloji.com> on 2019/11/25 09:05:24 UTC

textFlow is missing in TextArea component

Hi,

I am using popup to show a content of a file and setting the "textFlow" 
attribute of TextArea component.

             protected function setLineNumbers():void {
                 var flowComposer : StandardFlowComposer = 
StandardFlowComposer(mainTextField.textFlow.flowComposer);
                 var absoluteIndex : int = 
mainTextField.selectionActivePosition;
                 var lineIdx : int = 
flowComposer.findLineIndexAtPosition(absoluteIndex);
                 lineNumbers.text = (lineIdx + 1) + "/" + 
mainTextField.textFlow.numChildren;
                 //endOff.value = 5000;
             }

I have two questions :

1. Setting modal true does not make the popup modal, is it possible ?
2. TextArea in royale is missing textFlow. Is there any other option ?

Thanks,
Serkan

Re: textFlow is missing in TextArea component

Posted by Serkan Taş <se...@likyateknoloji.com>.
Which one ? 




Android için Outlook'u edinin







On Mon, Nov 25, 2019 at 7:22 PM +0300, "Alex Harui" <ah...@adobe.com> wrote:




















Nobody has asked for it so far.  Feel free to implement it.


 


-Alex


 



From:
Serkan Taş <se...@likyateknoloji.com>

Reply-To: "users@royale.apache.org" <us...@royale.apache.org>

Date: Monday, November 25, 2019 at 1:05 AM

To: "users@royale.apache.org" <us...@royale.apache.org>

Subject: textFlow is missing in TextArea component




 



Hi,



I am using popup to show a content of a file and setting the "textFlow" attribute of TextArea component.



            protected function setLineNumbers():void {

                var flowComposer : StandardFlowComposer = StandardFlowComposer(mainTextField.textFlow.flowComposer);

                var absoluteIndex : int = mainTextField.selectionActivePosition;

                var lineIdx : int = flowComposer.findLineIndexAtPosition(absoluteIndex);

                lineNumbers.text = (lineIdx + 1) + "/" + mainTextField.textFlow.numChildren;

                //endOff.value = 5000;

            }



I have two questions :



1. Setting modal true does not make the popup modal, is it possible ?

2. TextArea in royale is missing textFlow. Is there any other option ? 



Thanks,

Serkan













Re: textFlow is missing in TextArea component

Posted by Serkan Taş <se...@likyateknoloji.com>.
I did not think that you ignored mail body :)




Do I have to implement modal windows ?




Android için Outlook'u edinin







On Mon, Nov 25, 2019 at 7:47 PM +0300, "Alex Harui" <ah...@adobe.com> wrote:




















Ah, I see where you asked an unrelated question about popup modal.  I thought popup modal was working.  It is a bug and should be fixed if it isn’t.  And you or anyone is welcome to work on that as well.


 


-Alex


 



From:
Alex Harui <ah...@adobe.com>

Reply-To: "users@royale.apache.org" <us...@royale.apache.org>

Date: Monday, November 25, 2019 at 8:44 AM

To: "users@royale.apache.org" <us...@royale.apache.org>

Subject: Re: textFlow is missing in TextArea component




 



The subject of the email is ‘textFlow is missing in TextArea”, so that one.


 



From:
Serkan Taş <se...@likyateknoloji.com>

Reply-To: "users@royale.apache.org" <us...@royale.apache.org>

Date: Monday, November 25, 2019 at 8:39 AM

To: "users@royale.apache.org" <us...@royale.apache.org>

Subject: Re: textFlow is missing in TextArea component




 





Which one iş not implemented, both?





Android
 için Outlook'u edinin



 















On Mon, Nov 25, 2019 at 7:22 PM +0300, "Alex Harui" <ah...@adobe.com> wrote:




Nobody has asked for it so far.  Feel free to implement it.


 


-Alex


 



From:
Serkan Taş <se...@likyateknoloji.com>

Reply-To: "users@royale.apache.org" <us...@royale.apache.org>

Date: Monday, November 25, 2019 at 1:05 AM

To: "users@royale.apache.org" <us...@royale.apache.org>

Subject: textFlow is missing in TextArea component




 



Hi,



I am using popup to show a content of a file and setting the "textFlow" attribute of TextArea component.



            protected function setLineNumbers():void {

                var flowComposer : StandardFlowComposer = StandardFlowComposer(mainTextField.textFlow.flowComposer);

                var absoluteIndex : int = mainTextField.selectionActivePosition;

                var lineIdx : int = flowComposer.findLineIndexAtPosition(absoluteIndex);

                lineNumbers.text = (lineIdx + 1) + "/" + mainTextField.textFlow.numChildren;

                //endOff.value = 5000;

            }



I have two questions :



1. Setting modal true does not make the popup modal, is it possible ?

2. TextArea in royale is missing textFlow. Is there any other option ? 



Thanks,

Serkan




















Re: textFlow is missing in TextArea component

Posted by Serkan Taş <se...@likyateknoloji.com>.
Fixed !

Thanks,
Serkan

25.11.2019 22:31 tarihinde Serkan Taş yazdı:
> Hi Alex,
>
> I am getting compiler error below when started to work on the issue.
>
>      [java] 
> D:\dev\royale-emulation-works\github\royale-asjs\frameworks\projects\SparkRoyale\src\main\royale\spark\components\TextArea.as(505): 
> col: 4 Error: Attempted access of inaccessible method setContent 
> through a reference with static type TextArea.
>      [java]
>      [java]                     setContent(value);
>      [java]                     ^
>      [java]
>      [java] 
> D:\dev\royale-emulation-works\github\royale-asjs\frameworks\projects\SparkRoyale\src\main\royale\spark\components\TextArea.as(573): 
> col: 11 Error: Attempted access of inaccessible method getTextFlow 
> through a reference with static type TextArea.
>      [java]
>      [java]                     return getTextFlow();
>      [java]                            ^
>      [java]
>      [java] 
> D:\dev\royale-emulation-works\github\royale-asjs\frameworks\projects\SparkRoyale\src\main\royale\spark\components\TextArea.as(584): 
> col: 4 Error: Attempted access of inaccessible method setTextFlow 
> through a reference with static type TextArea.
>      [java]
>      [java]                     setTextFlow(value);
>      [java]                     ^
>      [java]
>
> The method in TextArea calls method from base class
>
>         public function set content(value:Object):void
>         {
>             // Of 'text', 'textFlow', and 'content', the last one set 
> wins.
>
>             setContent(value);
>         }
>
> From SkinnableTextBase :
>
>     mx_internal function setContent(value:Object):void
>     {
>         if (textDisplay)
>         {
>             var richEditableText:RichEditableText = textDisplay as 
> RichEditableText;
>
>             if (richEditableText)
>             {
>                 richEditableText.content = value;
>                 textDisplayProperties = BitFlagUtil.update(
>                     uint(textDisplayProperties), 
> CONTENT_PROPERTY_FLAG, true);
>             }
>         }
>         else
>         {
>             textDisplayProperties.content = value;
>
>             // Of 'text', 'textFlow', and 'content', the last one set 
> wins.  So
>             // if we're holding onto the properties until the skin is 
> loaded
>             // make sure only the last one set is defined.
>             textDisplayProperties.text = undefined;
>             textDisplayProperties.textFlow = undefined;
>         }
>
>         // Generate an UPDATE_COMPLETE event.
>         invalidateProperties();
>      }
>
>
> What is the root cause you think ?
>
> Thanks,
> Serkan
>
> 25.11.2019 19:48 tarihinde Serkan Taş yazdı:
>> Ok, I got it. Thanks
>>
>> Android için Outlook <https://aka.ms/ghei36>'u edinin
>>
>>
>>
>> On Mon, Nov 25, 2019 at 7:47 PM +0300, "Alex Harui" <aharui@adobe.com 
>> <ma...@adobe.com>> wrote:
>>
>>     Ah, I see where you asked an unrelated question about popup
>>     modal.  I thought popup modal was working.  It is a bug and
>>     should be fixed if it isn’t.  And you or anyone is welcome to
>>     work on that as well.
>>
>>     -Alex
>>
>>     *From: *Alex Harui <ah...@adobe.com>
>>     *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
>>     *Date: *Monday, November 25, 2019 at 8:44 AM
>>     *To: *"users@royale.apache.org" <us...@royale.apache.org>
>>     *Subject: *Re: textFlow is missing in TextArea component
>>
>>     The subject of the email is ‘textFlow is missing in TextArea”, so
>>     that one.
>>
>>     *From: *Serkan Taş <se...@likyateknoloji.com>
>>     *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
>>     *Date: *Monday, November 25, 2019 at 8:39 AM
>>     *To: *"users@royale.apache.org" <us...@royale.apache.org>
>>     *Subject: *Re: textFlow is missing in TextArea component
>>
>>     Which one iş not implemented, both?
>>
>>     Android için Outlook
>>     <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Faka.ms%2Fghei36&data=02%7C01%7Caharui%40adobe.com%7C79ab18b237e24760e9ad08d771c6c32c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637102970801771514&sdata=KjL3yiVQYGr67sfEZEYNV09JTCAofnRmV1ZkzANN0bY%3D&reserved=0>'u
>>     edinin
>>
>>
>>
>>
>>     On Mon, Nov 25, 2019 at 7:22 PM +0300, "Alex Harui"
>>     <aharui@adobe.com <ma...@adobe.com>> wrote:
>>
>>         Nobody has asked for it so far.  Feel free to implement it.
>>
>>         -Alex
>>
>>         *From: *Serkan Taş <se...@likyateknoloji.com>
>>         *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
>>         *Date: *Monday, November 25, 2019 at 1:05 AM
>>         *To: *"users@royale.apache.org" <us...@royale.apache.org>
>>         *Subject: *textFlow is missing in TextArea component
>>
>>         Hi,
>>
>>         I am using popup to show a content of a file and setting the
>>         "textFlow" attribute of TextArea component.
>>
>>                 protected function setLineNumbers():void {
>>                         var flowComposer : StandardFlowComposer =
>>         StandardFlowComposer(mainTextField.textFlow.flowComposer);
>>                         var absoluteIndex : int =
>>         mainTextField.selectionActivePosition;
>>                         var lineIdx : int =
>>         flowComposer.findLineIndexAtPosition(absoluteIndex);
>>                         lineNumbers.text = (lineIdx + 1) + "/" +
>>         mainTextField.textFlow.numChildren;
>>                         //endOff.value = 5000;
>>                     }
>>
>>         I have two questions :
>>
>>         1. Setting modal true does not make the popup modal, is it
>>         possible ?
>>         2. TextArea in royale is missing textFlow. Is there any other
>>         option ?
>>
>>         Thanks,
>>         Serkan
>>
>>
>>
>


Re: textFlow is missing in TextArea component

Posted by Serkan Taş <se...@likyateknoloji.com>.
Hi Alex,

I am getting compiler error below when started to work on the issue.

      [java] 
D:\dev\royale-emulation-works\github\royale-asjs\frameworks\projects\SparkRoyale\src\main\royale\spark\components\TextArea.as(505): 
col: 4 Error: Attempted access of inaccessible method setContent through 
a reference with static type TextArea.
      [java]
      [java]                     setContent(value);
      [java]                     ^
      [java]
      [java] 
D:\dev\royale-emulation-works\github\royale-asjs\frameworks\projects\SparkRoyale\src\main\royale\spark\components\TextArea.as(573): 
col: 11 Error: Attempted access of inaccessible method getTextFlow 
through a reference with static type TextArea.
      [java]
      [java]                     return getTextFlow();
      [java]                            ^
      [java]
      [java] 
D:\dev\royale-emulation-works\github\royale-asjs\frameworks\projects\SparkRoyale\src\main\royale\spark\components\TextArea.as(584): 
col: 4 Error: Attempted access of inaccessible method setTextFlow 
through a reference with static type TextArea.
      [java]
      [java]                     setTextFlow(value);
      [java]                     ^
      [java]

The method in TextArea calls method from base class

         public function set content(value:Object):void
         {
             // Of 'text', 'textFlow', and 'content', the last one set wins.

             setContent(value);
         }

 From SkinnableTextBase :

     mx_internal function setContent(value:Object):void
     {
         if (textDisplay)
         {
             var richEditableText:RichEditableText = textDisplay as 
RichEditableText;

             if (richEditableText)
             {
                 richEditableText.content = value;
                 textDisplayProperties = BitFlagUtil.update(
                     uint(textDisplayProperties), CONTENT_PROPERTY_FLAG, 
true);
             }
         }
         else
         {
             textDisplayProperties.content = value;

             // Of 'text', 'textFlow', and 'content', the last one set 
wins.  So
             // if we're holding onto the properties until the skin is 
loaded
             // make sure only the last one set is defined.
             textDisplayProperties.text = undefined;
             textDisplayProperties.textFlow = undefined;
         }

         // Generate an UPDATE_COMPLETE event.
         invalidateProperties();
      }


What is the root cause you think ?

Thanks,
Serkan

25.11.2019 19:48 tarihinde Serkan Taş yazdı:
> Ok, I got it. Thanks
>
> Android için Outlook <https://aka.ms/ghei36>'u edinin
>
>
>
> On Mon, Nov 25, 2019 at 7:47 PM +0300, "Alex Harui" <aharui@adobe.com 
> <ma...@adobe.com>> wrote:
>
>     Ah, I see where you asked an unrelated question about popup
>     modal.  I thought popup modal was working.  It is a bug and should
>     be fixed if it isn’t.  And you or anyone is welcome to work on
>     that as well.
>
>     -Alex
>
>     *From: *Alex Harui <ah...@adobe.com>
>     *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
>     *Date: *Monday, November 25, 2019 at 8:44 AM
>     *To: *"users@royale.apache.org" <us...@royale.apache.org>
>     *Subject: *Re: textFlow is missing in TextArea component
>
>     The subject of the email is ‘textFlow is missing in TextArea”, so
>     that one.
>
>     *From: *Serkan Taş <se...@likyateknoloji.com>
>     *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
>     *Date: *Monday, November 25, 2019 at 8:39 AM
>     *To: *"users@royale.apache.org" <us...@royale.apache.org>
>     *Subject: *Re: textFlow is missing in TextArea component
>
>     Which one iş not implemented, both?
>
>     Android için Outlook
>     <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Faka.ms%2Fghei36&data=02%7C01%7Caharui%40adobe.com%7C79ab18b237e24760e9ad08d771c6c32c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637102970801771514&sdata=KjL3yiVQYGr67sfEZEYNV09JTCAofnRmV1ZkzANN0bY%3D&reserved=0>'u
>     edinin
>
>
>
>
>     On Mon, Nov 25, 2019 at 7:22 PM +0300, "Alex Harui"
>     <aharui@adobe.com <ma...@adobe.com>> wrote:
>
>         Nobody has asked for it so far.  Feel free to implement it.
>
>         -Alex
>
>         *From: *Serkan Taş <se...@likyateknoloji.com>
>         *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
>         *Date: *Monday, November 25, 2019 at 1:05 AM
>         *To: *"users@royale.apache.org" <us...@royale.apache.org>
>         *Subject: *textFlow is missing in TextArea component
>
>         Hi,
>
>         I am using popup to show a content of a file and setting the
>         "textFlow" attribute of TextArea component.
>
>                 protected function setLineNumbers():void {
>                         var flowComposer : StandardFlowComposer =
>         StandardFlowComposer(mainTextField.textFlow.flowComposer);
>                         var absoluteIndex : int =
>         mainTextField.selectionActivePosition;
>                         var lineIdx : int =
>         flowComposer.findLineIndexAtPosition(absoluteIndex);
>                         lineNumbers.text = (lineIdx + 1) + "/" +
>         mainTextField.textFlow.numChildren;
>                         //endOff.value = 5000;
>                     }
>
>         I have two questions :
>
>         1. Setting modal true does not make the popup modal, is it
>         possible ?
>         2. TextArea in royale is missing textFlow. Is there any other
>         option ?
>
>         Thanks,
>         Serkan
>
>
>


Re: textFlow is missing in TextArea component

Posted by Serkan Taş <se...@likyateknoloji.com>.
Ok, I got it. Thanks
Android için Outlook'u edinin



On Mon, Nov 25, 2019 at 7:47 PM +0300, "Alex Harui" <ah...@adobe.com> wrote:




















Ah, I see where you asked an unrelated question about popup modal.  I thought popup modal was working.  It is a bug and should be fixed if it isn’t.  And you or anyone is welcome to work on that as well.


 


-Alex


 



From:
Alex Harui <ah...@adobe.com>

Reply-To: "users@royale.apache.org" <us...@royale.apache.org>

Date: Monday, November 25, 2019 at 8:44 AM

To: "users@royale.apache.org" <us...@royale.apache.org>

Subject: Re: textFlow is missing in TextArea component




 



The subject of the email is ‘textFlow is missing in TextArea”, so that one.


 



From:
Serkan Taş <se...@likyateknoloji.com>

Reply-To: "users@royale.apache.org" <us...@royale.apache.org>

Date: Monday, November 25, 2019 at 8:39 AM

To: "users@royale.apache.org" <us...@royale.apache.org>

Subject: Re: textFlow is missing in TextArea component




 





Which one iş not implemented, both?





Android
 için Outlook'u edinin



 















On Mon, Nov 25, 2019 at 7:22 PM +0300, "Alex Harui" <ah...@adobe.com> wrote:




Nobody has asked for it so far.  Feel free to implement it.


 


-Alex


 



From:
Serkan Taş <se...@likyateknoloji.com>

Reply-To: "users@royale.apache.org" <us...@royale.apache.org>

Date: Monday, November 25, 2019 at 1:05 AM

To: "users@royale.apache.org" <us...@royale.apache.org>

Subject: textFlow is missing in TextArea component




 



Hi,



I am using popup to show a content of a file and setting the "textFlow" attribute of TextArea component.



            protected function setLineNumbers():void {

                var flowComposer : StandardFlowComposer = StandardFlowComposer(mainTextField.textFlow.flowComposer);

                var absoluteIndex : int = mainTextField.selectionActivePosition;

                var lineIdx : int = flowComposer.findLineIndexAtPosition(absoluteIndex);

                lineNumbers.text = (lineIdx + 1) + "/" + mainTextField.textFlow.numChildren;

                //endOff.value = 5000;

            }



I have two questions :



1. Setting modal true does not make the popup modal, is it possible ?

2. TextArea in royale is missing textFlow. Is there any other option ? 



Thanks,

Serkan




















Re: textFlow is missing in TextArea component

Posted by Alex Harui <ah...@adobe.com>.
Ah, I see where you asked an unrelated question about popup modal.  I thought popup modal was working.  It is a bug and should be fixed if it isn’t.  And you or anyone is welcome to work on that as well.

-Alex

From: Alex Harui <ah...@adobe.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, November 25, 2019 at 8:44 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: textFlow is missing in TextArea component

The subject of the email is ‘textFlow is missing in TextArea”, so that one.

From: Serkan Taş <se...@likyateknoloji.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, November 25, 2019 at 8:39 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: textFlow is missing in TextArea component

Which one iş not implemented, both?
Android için Outlook<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Faka.ms%2Fghei36&data=02%7C01%7Caharui%40adobe.com%7C79ab18b237e24760e9ad08d771c6c32c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637102970801771514&sdata=KjL3yiVQYGr67sfEZEYNV09JTCAofnRmV1ZkzANN0bY%3D&reserved=0>'u edinin




On Mon, Nov 25, 2019 at 7:22 PM +0300, "Alex Harui" <ah...@adobe.com>> wrote:
Nobody has asked for it so far.  Feel free to implement it.

-Alex

From: Serkan Taş <se...@likyateknoloji.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, November 25, 2019 at 1:05 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: textFlow is missing in TextArea component

Hi,

I am using popup to show a content of a file and setting the "textFlow" attribute of TextArea component.

            protected function setLineNumbers():void {
                var flowComposer : StandardFlowComposer = StandardFlowComposer(mainTextField.textFlow.flowComposer);
                var absoluteIndex : int = mainTextField.selectionActivePosition;
                var lineIdx : int = flowComposer.findLineIndexAtPosition(absoluteIndex);
                lineNumbers.text = (lineIdx + 1) + "/" + mainTextField.textFlow.numChildren;
                //endOff.value = 5000;
            }

I have two questions :

1. Setting modal true does not make the popup modal, is it possible ?
2. TextArea in royale is missing textFlow. Is there any other option ?

Thanks,
Serkan




Re: textFlow is missing in TextArea component

Posted by Alex Harui <ah...@adobe.com>.
The subject of the email is ‘textFlow is missing in TextArea”, so that one.

From: Serkan Taş <se...@likyateknoloji.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, November 25, 2019 at 8:39 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: textFlow is missing in TextArea component

Which one iş not implemented, both?
Android için Outlook<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Faka.ms%2Fghei36&data=02%7C01%7Caharui%40adobe.com%7C8b62ef1e771c48aa69c408d771c6096d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637102967685969682&sdata=juiWdKKedFqYIbZdv28NG8Zgi6dI5nYo0RFYZt%2BRhNs%3D&reserved=0>'u edinin



On Mon, Nov 25, 2019 at 7:22 PM +0300, "Alex Harui" <ah...@adobe.com>> wrote:
Nobody has asked for it so far.  Feel free to implement it.

-Alex

From: Serkan Taş <se...@likyateknoloji.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, November 25, 2019 at 1:05 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: textFlow is missing in TextArea component

Hi,

I am using popup to show a content of a file and setting the "textFlow" attribute of TextArea component.

            protected function setLineNumbers():void {
                var flowComposer : StandardFlowComposer = StandardFlowComposer(mainTextField.textFlow.flowComposer);
                var absoluteIndex : int = mainTextField.selectionActivePosition;
                var lineIdx : int = flowComposer.findLineIndexAtPosition(absoluteIndex);
                lineNumbers.text = (lineIdx + 1) + "/" + mainTextField.textFlow.numChildren;
                //endOff.value = 5000;
            }

I have two questions :

1. Setting modal true does not make the popup modal, is it possible ?
2. TextArea in royale is missing textFlow. Is there any other option ?

Thanks,
Serkan



Re: textFlow is missing in TextArea component

Posted by Serkan Taş <se...@likyateknoloji.com>.
Which one iş not implemented, both?




Android için Outlook'u edinin







On Mon, Nov 25, 2019 at 7:22 PM +0300, "Alex Harui" <ah...@adobe.com> wrote:




















Nobody has asked for it so far.  Feel free to implement it.


 


-Alex


 



From:
Serkan Taş <se...@likyateknoloji.com>

Reply-To: "users@royale.apache.org" <us...@royale.apache.org>

Date: Monday, November 25, 2019 at 1:05 AM

To: "users@royale.apache.org" <us...@royale.apache.org>

Subject: textFlow is missing in TextArea component




 



Hi,



I am using popup to show a content of a file and setting the "textFlow" attribute of TextArea component.



            protected function setLineNumbers():void {

                var flowComposer : StandardFlowComposer = StandardFlowComposer(mainTextField.textFlow.flowComposer);

                var absoluteIndex : int = mainTextField.selectionActivePosition;

                var lineIdx : int = flowComposer.findLineIndexAtPosition(absoluteIndex);

                lineNumbers.text = (lineIdx + 1) + "/" + mainTextField.textFlow.numChildren;

                //endOff.value = 5000;

            }



I have two questions :



1. Setting modal true does not make the popup modal, is it possible ?

2. TextArea in royale is missing textFlow. Is there any other option ? 



Thanks,

Serkan













Re: textFlow is missing in TextArea component

Posted by Alex Harui <ah...@adobe.com>.
Nobody has asked for it so far.  Feel free to implement it.

-Alex

From: Serkan Taş <se...@likyateknoloji.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, November 25, 2019 at 1:05 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: textFlow is missing in TextArea component

Hi,

I am using popup to show a content of a file and setting the "textFlow" attribute of TextArea component.

            protected function setLineNumbers():void {
                var flowComposer : StandardFlowComposer = StandardFlowComposer(mainTextField.textFlow.flowComposer);
                var absoluteIndex : int = mainTextField.selectionActivePosition;
                var lineIdx : int = flowComposer.findLineIndexAtPosition(absoluteIndex);
                lineNumbers.text = (lineIdx + 1) + "/" + mainTextField.textFlow.numChildren;
                //endOff.value = 5000;
            }

I have two questions :

1. Setting modal true does not make the popup modal, is it possible ?
2. TextArea in royale is missing textFlow. Is there any other option ?

Thanks,
Serkan