-
Chekbox setInterval
Hi,
I have checkbox, combobox and textfield
when combobox element is selected and chekbox is selected the text field have to appear.
when the combobox element is changed, the textfield information have to change too.
when chekbox deselected, textfield have to disappear.
everything is working, except one thing: when I deselect chekbox, textfield disapear only for a moment, and then again appear.
something is wrong with setinterval but i dont know how to fix :/
this code is from flashkit. Just put set interval.
obj = {};
obj.click = function(comp) {
if (comp.target.selected) {
_root.infor();
var intervalas = setInterval(comp.target.selected, 120);
} else {
_root.inform._visible = false;
clearInterval(intervalas);
}
};
info_check.addEventListener("click",obj);
can anybody help me?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|