foobar
02-03-2005, 09:50 PM
I have 2 movies: 'container' and 'nested'. The 'container' has a symbol named mainarea into which 'nested' is loaded. I set _root.mainarea._lockroot = true, even though there are NO refernces to _root in 'nested'.
Inside 'nested' are ComboBoxes (the stock components). I have a function that takes a path and a variable, loads XML info from the web, parses it into data and label arrays, and sets the data and label parameters of the given variable (essentially fills the dropdown with info from the web).
When I run 'nested' by itself, the comboboxes work perfect. Once it is nested into 'container', it does not work (the pulldown does not do anything). Tracing with actionscript, I can see that the data and labels array from the web are going into the right place (_root.mainarea.myCombo in 'container'). That is, _root.mainarea.myCombo.data and .labels are the correct arrays with the correct info.
Any idea why the component is not working correctly or anything I am missing?
Thanks.
Inside 'nested' are ComboBoxes (the stock components). I have a function that takes a path and a variable, loads XML info from the web, parses it into data and label arrays, and sets the data and label parameters of the given variable (essentially fills the dropdown with info from the web).
When I run 'nested' by itself, the comboboxes work perfect. Once it is nested into 'container', it does not work (the pulldown does not do anything). Tracing with actionscript, I can see that the data and labels array from the web are going into the right place (_root.mainarea.myCombo in 'container'). That is, _root.mainarea.myCombo.data and .labels are the correct arrays with the correct info.
Any idea why the component is not working correctly or anything I am missing?
Thanks.