Hi Guys, 

 

Is there something like a timeout in AS3.

 

Problem is following:

 

I have a Canvas. When I call validateNow(), scrollbars change, but if
immediately after I call validateNow() ask for the
maxHorizontalScrollPosition, I get the old value from before the
invalidate and not the new one...

 

So do I have to wait a frame? Or is there a better way, because this is
what annoys me in Flash, to solve something, often you need to wait a
frame...

 

Thx, Lieven Cardoen

 

Lieven Cardoen
Application developer

indiegroup
interactive digital experience
engelse wandeling 2 k18 
b8500 kortrijk 

 

 

Reply via email to