Hello;
i have three combobox, its is "c1" ,"c2"and "c3" ,Label in combobox one "0,1,2" ,Label in combobox two is "0,1,2" and Lable in combobox three is "0 ,1, 2", then select combobox one "0" and combobox two "1" and combobox three "0" and its go to distplay image"0.jpg" in 2 seconds and after then load image "1.jpg" in 3 seconds after then load image "2.jpg" how write actionscript?
i have three mediadisplay component is "d0","d1","d2",i want doing one frame only.
this code
Example
.................................................. ..................................................
LO = new Object();
LO.change = function(EO) {
c1Value = c1.getSelectedItem().label;
c2Value = c2.getSelectedItem().label;
c3Value = c3.getSelectedItem().label;
//call the checkValue function
checkValue();
};
function checkValue()
{
if(c1Value=="0"&&c2Value=="1"&&c3Value=="0")
{
//i want
_root.d0.loadMovie("0.jpg") display in 2 seconds
after then
_root.d1.loadMovie("1.jpg") display in 3 seconds
after then
_root.d2.loadMovie("2.jpg") display in 3 seconds
//
}
}
for (i=1; i<3; ++i)
{
_root["c"+i].addEventListener("change", LO);
}
.................................................. .................................................
this file fla(Example)
http://www.mytempdir.com/1377012
can help me.