Josh Tynjala

Results 511 comments of Josh Tynjala

You just need to be careful that you set the exact same properties in both functions. In other words, you may want to manually reset some properties to their defaults....

For my future reference, the following code will reproduce this issue: ``` actionscript var list:List = new List(); list.setSize(200, 200); list.dataProvider = new ArrayCollection( [ { label: "One" }, {...

@mshaffer12882 Is it possible to add your filter to the item renderer instead of its background?

While you could add a check if the stage is null, it means that those listeners will not be removed. Luckily, I added those listeners as a weak reference, so...

Since you're already listening for Event.CHANGE, you can save the current screen in a variable. Before you change the variable to the new screen, it will still hold a reference...

Because the information can be obtained as I described, and creating a new object to pass as the event's data has garbage collection overhead, this approach is (unfortunately) not acceptable....

> If I understand this correctly, this will be called when a screen is being hidden, before Event.CHANGE and before changing the active screen property to a new screen? If...

The way I intended maintainTouchFocus to work is that you should set it to false before you clear focus, even clearing focus programmatically. Give that a try, and let me...

Another workaround that seems to work is to clear the focus on the current input before setting focus on the new one: if(inputField == textInput1) { textInput1.clearFocus(); textInput2.setFocus(); } else...