views:

47

answers:

1

I was recently trying to help a friend get started with Flash, and ran into a very weird bug. It looks like AS3 isn't being evaluated. Something as simple as a trace statement on the first frame of the movie doesn't produce any output. When I switch over to AS2, the trace statement works. What's going on here? Is it a problem with his Flash installation?

+1  A: 

It is unlikely that AS3 isn't working. More likely you forgot to re-build the program (you might also need to close any open instances of the program for this to work successfully), or you don't have an up-to-date installation of Flash. I would certainly try both rebuilding as well as downloading/installing a newer version of Flash Player before concluding that AS3 was broken. If that doesn't work, feel free to update this post with an example snippet of code (it's hard to debug the code otherwise). Good luck.

Michael Aaron Safyan