Quantcast
Channel: connectedpixel.com - gotchas
Viewing all articles
Browse latest Browse all 2

Simulate download: Static vars not re-initialized

$
0
0

The 'Simulate Download' feature in the Flash IDE is very useful. It can help debug race conditions that are a cause of intermittent problems. However, it can also lead you astray.

Problem: AS2 static variables are NOT reinitialized when you hit control-Enter the 2nd time to go into simulate-download mode.

If you'd like to try it, here's a simple test class:

read more


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images