2008
Combo Box in child swf doesn’t work (flash as2)
Well after struggling for hours on this bug i thought it would be nice to document it here …
maybe i can save some time from other coders.
welp, the problem is that the combo box , in the child swf (loaded dynamicly thru loadMovie or any other method)
is visible and pressed, but it won’t open, and won’t work.
if you run the child swf individually it will work perfectly , but when you combine them both — > NADA!
well, any guesses ? ……
the thing is that for some reason, you need to have a copy of the combo box component in your parent swf in order for it to work in the child swf , strange solution, but it works~!
so in case someone is looking for the answer for this annoying bug — > thats a simple solution for it,
i’d prefer adobe to do some bug fixing to them components …
(i havn’t checked for the bug in as3 compiled clips, maybe they did fix it in avm1 engine ..)
thats all for now .











i have similar problem. did u sort it out>
yes,
as i wrote above you just need to put the combo box in the parent swf as well, and then it will work….
strange as it seems, it works.
The problem with that solution is that it will increase the size of the root swf. Just put the combobox inside a movieclip and in the first frame write this._lockroot = true;
thank you, that fixed my problem
I think it is just like scripting…
you got to have the combo box in the root’s lib so that the function of combo box is included or something like the script that starts with import mx.somehthing.anything.*; to include the combo box function.
i just included the combo in my root’ lib and it is working fine.