PDA

View Full Version : Problem with multiple combobox components


Chevalric
07-06-2004, 11:45 AM
I'm trying to create comboboxes with actionscript by using the attachMovie function. Of course, this isn't very hard and works perfectly. The only problem is that the dropdowns fall under the next combobox. You can view the problem here (http://www.chevalric.demon.nl/flash/test.swf).

The necessary code can be found here (http://www.chevalric.demon.nl/flash/) (the creation code is in the TCOFrontend.as file).

I've already tried to create the last combobox first, but without success.
When I add the comboboxes manually, the problem doesn't occur.

Billy T
07-06-2004, 01:04 PM
bit of a hack but I added a parameter to your function (depth) and hard coded the values which fixed it