i have also tried

var combo:ComboBox = createClassObject(ComboBox, "variationCombo", 5004);
        combo.addItem("Size");
        for (var i:Number = 0; i < productArray[product].sizes.length; i++) {
                combo.addItem(productArray[product].sizes[i]);
        }
        combo._y = 445;
        combo._x = 530;

with the same result


On 25 May 2007, at 19:36, Allandt Bik-Elliott (Receptacle) wrote:

crikey - i've posted this in 4 places and i've not had a single response




On 25 May 2007, at 18:19, Allandt Bik-Elliott (Receptacle) wrote:

i've also tried

var combo:ComboBox = createClassObject(ComboBox, "variationCombo", 5004);
        combo._y = 450;
        combo._x = 500;
        combo.labelField = "thisSize";
        combo.dataProvider = sizes;



On 25 May 2007, at 17:30, Allandt Bik-Elliott (Receptacle) wrote:

thanks for all your help today guys

last question (for today :D  )

i've loaded an array (including a starting value) into a combo box that was made using createClassObject in actionscript and it works fine (drop down has the full list of values, including the starting one) except that nothing ever appears in the 'up' state.

var comboInit:Object = new Object();
var sizes:Array = [{thisSize: "choose one"}];
for (var i:Number = 0; i < productArray[product].sizes.length; i+ +) {
    sizes.push ({thisSize:productArray[product].sizes[i]});
}
comboInit._y = 450;
comboInit._x = 500;
comboInit.dataProvider = sizes;
comboInit.labelField = "thisSize";
createClassObject(ComboBox, "variationCombo", 5004, comboInit);

did i not do something correctly?

hope you can help
a
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to