>There is code in Flex (or AIR?) that is clipping the StageText successfully 

Not it does not, even if you set a viewport that is smaller that the StageText, 
it will be displayed in its entirety, expected if clipped by the screen device, 
which is not what we are talking about (see Alex comment).

>but I think the problem is that when you scroll it's not always validated.
>For example, if you scroll or throw a view that has a text input / text area 
>in it the text area is not clipped. Then it overlaps. If you invalidate the 
>TextInput style (call styleChange) then >something happens and it's correctly 
>clipped. I spent a few days trying to figure out a cheaper way to fix it but 
>all I could come up with is calling styleChanged on animation end. I think 
>this >is what we're talking about?

It's not the StageText that is displayed when you "throw", but the proxyImage. 
That's why it's clipped and scrolled correctly.
However, during the scrolling (finger not released), It's the StageText, and 
it's does not even scroll with the rest(let alone clipping). 
That's the main issue.

Maurice 

-----Message d'origine-----
De : jude [mailto:flexcapaci...@gmail.com] 
Envoyé : dimanche 17 novembre 2013 04:44
À : dev
Objet : Re: Air Stage Text Issue

I don't understand that use case. In the suggested scenario, you have a bitmap 
all the time except if the TextInput has focus. Once it has focus you would 
show the StageText. This is the same time that the virtual keyboard pops up. I 
don't think there's any other way except the it behaves now. I don't think it 
will look bad because the StageText also is clipped itself. As soon as the 
TextInput loses focus you show the bitmap again.

There is code in Flex (or AIR?) that is clipping the StageText successfully but 
I think the problem is that when you scroll it's not always validated.
For example, if you scroll or throw a view that has a text input / text area in 
it the text area is not clipped. Then it overlaps. If you invalidate the 
TextInput style (call styleChange) then something happens and it's correctly 
clipped. I spent a few days trying to figure out a cheaper way to fix it but 
all I could come up with is calling styleChanged on animation end. I think this 
is what we're talking about?


Reply via email to