Script Causing Flash to Run Slowly – taterboy
July 24th, 2008 | Filed under: ActionScript 2, ActionScript 3, Flash, Tips
“A script in this movie is causing Adobe Flash Player 9 to run slowly. If it continues to run, your computer may become unresponsive. Do you want to abort the script?”
This error message is commonly caused by a hanging “for” loop. First check the code is written properly with no typos or mix-matched variables.
Read More »
Shuffle Objects or Random Order In Flash – taterboy
July 2nd, 2008 | Filed under: ActionScript 2, ActionScript 3, Flash, Tips
Random is a funny thing. You are working on a site or a game and think, “let’s make this part random to add some interest. You add your new code and realize that now things are repeating where they were not before Or the game experience is now really inconsistent.
That is because random is well, random. It is not 1, 2, 3, 4 any more, but it is also not a consistent distribution or values ether. The first sample is a concept built to prove a point I felt very strongly about, that I wagered lunch on it. I lost, but it is still an interesting exercise.
Read More »