You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@royale.apache.org by Takeshita Shoichiro <jl...@gmail.com> on 2020/01/14 02:32:50 UTC

flash.display.DisplayObjects and flash.text.TextFileld

Hi,

Are there any possible equivalents of these two libraries in Apache Royale?

Thanks
-- 
Shoichiro Takeshita
武下 祥一郎

Re: flash.display.DisplayObjects and flash.text.TextFileld

Posted by Takeshita Shoichiro <jl...@gmail.com>.
Alex, thanks a lot.

Resolved.

2020年1月14日(火) 13:49 Alex Harui <ah...@adobe.com>:

> I suggest writing it as:
>
>
>
> var c:IUIComponent = getChildAt(I);
>
>   if (!(c is UITextField))
>
>
>
> HTH,
>
> -Alex
>
>
>
>
>
> *From: *Takeshita Shoichiro <jl...@gmail.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, January 13, 2020 at 8:07 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *Re: flash.display.DisplayObjects and flash.text.TextFileld
>
>
>
> Gustavo, thank.
>
>
>
> It seems mx.core.UIComponent and mx.core.UITextField can be used.
>
>
>
> However, still unresolved data types DisplayObject and TextField exist.
>
>
>
> The code snippet is
>
>
>
>   var c:DisplayObject = getChildAt(I);
>
>   if (!(c is TextField))
>
>
>
>
>
> 2020年1月14日(火) 11:56 De Carli Gustavo <gu...@gmail.com>:
>
> Hello Takeshita,  maybe it can help you
>
>
>
>
> https://github.com/apache/royale-asjs/wiki/Creating-A-High-Level-Emulation-Component
> <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fwiki%2FCreating-A-High-Level-Emulation-Component&data=02%7C01%7Caharui%40adobe.com%7Cef9100dee2864a508a3408d798a735e7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637145716256103624&sdata=8ZPO%2F0aXymHmMl1Rx3VDf5PJmhnG1gKjSc%2FX9H2HVgg%3D&reserved=0>
>
>
>
>
>
> Gustavo.
>
>
>
> El lun., 13 ene. 2020 a las 23:33, Takeshita Shoichiro (<jl...@gmail.com>)
> escribió:
>
> Hi,
>
>
>
> Are there any possible equivalents of these two libraries in Apache Royale?
>
>
>
> Thanks
>
> --
>
> Shoichiro Takeshita
> 武下 祥一郎
>
> --
>
> Shoichiro Takeshita
> 武下 祥一郎
>
-- 
Shoichiro Takeshita
武下 祥一郎

Re: flash.display.DisplayObjects and flash.text.TextFileld

Posted by Alex Harui <ah...@adobe.com>.
I suggest writing it as:

var c:IUIComponent = getChildAt(I);
  if (!(c is UITextField))

HTH,
-Alex


From: Takeshita Shoichiro <jl...@gmail.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, January 13, 2020 at 8:07 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: flash.display.DisplayObjects and flash.text.TextFileld

Gustavo, thank.

It seems mx.core.UIComponent and mx.core.UITextField can be used.

However, still unresolved data types DisplayObject and TextField exist.

The code snippet is

  var c:DisplayObject = getChildAt(I);
  if (!(c is TextField))


2020年1月14日(火) 11:56 De Carli Gustavo <gu...@gmail.com>>:
Hello Takeshita,  maybe it can help you

https://github.com/apache/royale-asjs/wiki/Creating-A-High-Level-Emulation-Component<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fwiki%2FCreating-A-High-Level-Emulation-Component&data=02%7C01%7Caharui%40adobe.com%7Cef9100dee2864a508a3408d798a735e7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637145716256103624&sdata=8ZPO%2F0aXymHmMl1Rx3VDf5PJmhnG1gKjSc%2FX9H2HVgg%3D&reserved=0>


Gustavo.

El lun., 13 ene. 2020 a las 23:33, Takeshita Shoichiro (<jl...@gmail.com>>) escribió:
Hi,

Are there any possible equivalents of these two libraries in Apache Royale?

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

Re: flash.display.DisplayObjects and flash.text.TextFileld

Posted by Takeshita Shoichiro <jl...@gmail.com>.
Gustavo, thank.

It seems mx.core.UIComponent and mx.core.UITextField can be used.

However, still unresolved data types DisplayObject and TextField exist.

The code snippet is

  var c:DisplayObject = getChildAt(I);
  if (!(c is TextField))


2020年1月14日(火) 11:56 De Carli Gustavo <gu...@gmail.com>:

> Hello Takeshita,  maybe it can help you
>
>
> https://github.com/apache/royale-asjs/wiki/Creating-A-High-Level-Emulation-Component
>
>
> Gustavo.
>
> El lun., 13 ene. 2020 a las 23:33, Takeshita Shoichiro (<jl...@gmail.com>)
> escribió:
>
>> Hi,
>>
>> Are there any possible equivalents of these two libraries in Apache
>> Royale?
>>
>> Thanks
>> --
>> Shoichiro Takeshita
>> 武下 祥一郎
>>
> --
Shoichiro Takeshita
武下 祥一郎

Re: flash.display.DisplayObjects and flash.text.TextFileld

Posted by De Carli Gustavo <gu...@gmail.com>.
Hello Takeshita,  maybe it can help you

https://github.com/apache/royale-asjs/wiki/Creating-A-High-Level-Emulation-Component

Gustavo.

El lun., 13 ene. 2020 a las 23:33, Takeshita Shoichiro (<jl...@gmail.com>)
escribió:

> Hi,
>
> Are there any possible equivalents of these two libraries in Apache Royale?
>
> Thanks
> --
> Shoichiro Takeshita
> 武下 祥一郎
>