with() Problem/Bug
This is yet another bug I found while doing some Flash-dev, it has to do with the with() statement. If you use with(this){…} it will give you erratic/unpredicted behavior, for instance take this code: You would think that output would look like this: But, instead it comes out as: Seems as though Flash does not allow you to set variables when using this in a with() statement. You can get the .fla i used to make the test cases for this bug here. Thanks Macromedia for wasting another hour of my time! 😛
Continue Reading