I have a function that i'd like tu run over 100 time every second. I'm
trying to use the setTimeout but it doesn't work properly. I'm thinking that
may it doesn't work becouse the DynDuo2.
Do u have any idea what could happen?
<>
function ampli(inc) {
if(!inc) {
inc = 100;
}
if(inc<=200) {
magnify100.setSize(magnifyW*inc/100,magnifyH*inc/100);
setTimeout('ampli('+(inc+1)+')',1000)
} else {
alert('finish')
}
};
thanks in advance.
Lluís Casany.
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help