Apollo Bug : Flash ComboBox not working correctly
April 19th, 2007 . by polyGeekI’m creating an Apollo app that loads a SWF (Player version 8) that has a ComboBox in it. When I run the Apollo app and select the ComboBox it opens as you would expect but when you select one of the labels it reports the wrong selection - most of the time. The selection is always something below the selection that you clicked on, or occasionally it gets it right.
Here’s the Apollo code:
And you can download the dropDown files here.












Have you tried it with Flash CS3 (version 9) ?
May be it is because the components of version 8 are using some code that Flex doesn’t like.
@Alejandro, True, but Apollo must work with all prior versions of Flash. I’m sure this is just an Alpha bug. I just wanted to draw attention to it. As new Apollo versions come out I’ll test to see if this works.
Combo box behaves differently when it is in an SWF embedded in another SWF, much of that has to do with focus management. Have you tried to embed your SWF in another SWF 8 or SWF 9 movie (other than Apollo)?
When I was working in the similar scenario, I have tried the following code
this._lockroot = true;
_level0.focusManager = false;
in the first frame of the movie where a combo box would be placed, and it seems to work fine. I don’t know if this would help solve Apollo’s quirk you mentioned.
@Tangent, That was an excellent suggestion. Unfortunately it didn’t work. Fortunately I don’t need this to work. It was an ancillary deliverable for a usability test that’s already completed now.
Thanks for the suggestion. I’ll be sure to post if the next release of Apollo fixes this.
Leave a Reply