Support Staff2 Posted by Ondina D.F. on 26 Apr, 2012 02:32 PM
@jimnastiq You’re welcome!
Not actually a solution, more of a (better ?) workaround:
Create a custom Button, set the focusEnabled to false and let
every button in your app extend this custom button. Of course
you’d have to go through the entire code to replace the
buttons, but at least you’ll have just one place where you
can make changes, for example in case the bug gets fixed (some time
in the future….)
If there was a way to set focusEnabled to false in the command,
where you remove the views, before removing them, it would be
easier, but I don’t know how.. Maybe you can ask the Flex
experts on stackoverflow
Maybe the Button behaves like this only in a mobile app? If I get a
chance I’ll see if it is any different in a desktop AIR app,
Flex and pure as3.
@Stray yeah, sadly the list of bugs just gets longer and
Support Staff4 Posted by Ondina D.F. on 26 Apr, 2012 03:22 PM
Last one for today:)
If the views weren’t mobile Views( ViewOne would be a
Group for example), and all the buttons would have the id=“
btnView“, you could do that:
IVisualElement); var view:ViewOne=new ViewOne();
(contextView as IVisualElementContainer).addElement(view); [Edit]
var view:ViewOne=new ViewOne();
for(var i:int=0; i<numberOfElements; i++)
Support Staff6 Posted by Ondina D.F. on 26 Apr, 2012 03:34 PM
Well, without seeing it, it's hard to say what's wrong. Send me
the view in question.
I'm changing the discussion to private, and I'll delete the
attached file after I dl it, ok?
That's all I can do, sorry:)