On 11/16/13 7:44 PM, "flexcapaci...@gmail.com" <flexcapaci...@gmail.com> wrote:
>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. I think you are thinking of TextInputs clipped by screen boundaries, but what about a TextInput clipped by the title bar of a Panel? When given focus, I think the StageText will obscure part of the titlebar and look bad. I think that's why we wanted AIR to fix it. > >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? I don't honestly know. I haven't worked with StageText myself. I guess we'll find out as Maurice and others attempt solutions. -Alex