flash.display.DisplayObjects and flash.text.TextFileld

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

flash.display.DisplayObjects and flash.text.TextFileld

T-san
Hi, 

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

Thanks 
--
Shoichiro Takeshita
武下 祥一郎
Reply | Threaded
Open this post in threaded view
|

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

De Carli Gustavo

El lun., 13 ene. 2020 a las 23:33, Takeshita Shoichiro (<[hidden email]>) escribió:
Hi, 

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

Thanks 
--
Shoichiro Takeshita
武下 祥一郎
Reply | Threaded
Open this post in threaded view
|

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

T-san
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 <[hidden email]>:


Gustavo.

El lun., 13 ene. 2020 a las 23:33, Takeshita Shoichiro (<[hidden email]>) escribió:
Hi, 

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

Thanks 
--
Shoichiro Takeshita
武下 祥一郎
--
Shoichiro Takeshita
武下 祥一郎
Reply | Threaded
Open this post in threaded view
|

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

Alex Harui-2

I suggest writing it as:

 

var c:IUIComponent = getChildAt(I);

  if (!(c is UITextField))

 

HTH,

-Alex

 

 

From: Takeshita Shoichiro <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Monday, January 13, 2020 at 8:07 PM
To: "[hidden email]" <[hidden email]>
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))

 

 

2020114() 11:56 De Carli Gustavo <[hidden email]>:

 

 

Gustavo.

 

El lun., 13 ene. 2020 a las 23:33, Takeshita Shoichiro (<[hidden email]>) escribió:

Hi, 

 

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

 

Thanks 

--

Shoichiro Takeshita
武下 祥一郎

--

Shoichiro Takeshita
武下 祥一郎

Reply | Threaded
Open this post in threaded view
|

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

T-san

Alex, thanks a lot.

Resolved. 

2020年1月14日(火) 13:49 Alex Harui <[hidden email]>:

I suggest writing it as:

 

var c:IUIComponent = getChildAt(I);

  if (!(c is UITextField))

 

HTH,

-Alex

 

 

From: Takeshita Shoichiro <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Monday, January 13, 2020 at 8:07 PM
To: "[hidden email]" <[hidden email]>
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))

 

 

2020114() 11:56 De Carli Gustavo <[hidden email]>:

 

 

Gustavo.

 

El lun., 13 ene. 2020 a las 23:33, Takeshita Shoichiro (<[hidden email]>) escribió:

Hi, 

 

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

 

Thanks 

--

Shoichiro Takeshita
武下 祥一郎

--

Shoichiro Takeshita
武下 祥一郎

--
Shoichiro Takeshita
武下 祥一郎