Delays?

Ive been trying forever to use formulas to make patterns. it works fine, the only problem is it never shows the patterns actually being drawn, it just pops up with the completed design. ive tried the same method in c++ and it worked fine with a conditional and a short delay but i can figure it out in flash mx. also is the random number script anywhere along the lines of
1+random(345)
because that is the same code for c++
thanks in advance for any help

Not too sure how to fix your problem, but the random script in Flash is like…

1+Math.random()*345

of if you want whole numbers instead of numbers with like 8 decimal places you can do this…

1+Math.round(Math.random()*345)

Thanks, that answered one of my questions at least.

you problem is that your probably calculating the whole thing in a single loop or something like it…if you were to replace the loop with an onEnterFrame, it would show each of your things being drawn. Could you please post ur code for further help :slight_smile:

i figured it out. thank all