Fantastic BUG typical of fantastic flash team programmers...
When you spend more time creating hacks solutions for your project is that something is wrong. This is the daily life as a programmer using Adobe solutions.
.) Creates a pure actionscript project
.) Go to URL: http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/utils/Proxy.html
.) Copy the example
). Put a breakpoint in this line:
protected var _item: Array / / array of object's properties
nextNameIndex flash_proxy override function (index: int): int (
/ / Initial call
-> If (index == 0) (
.) Looking at the variable "_item" variables in the window and start pressing F5. Each time you run one step creates a new array ..)
.) Now add this line:
protected var _item: Array / / array of object's properties
nextNameIndex flash_proxy override function (index: int): int (
/ / Initial call
-> Index + +;
if (index == 0) (
Back to compile and run the application. You will find that every time pressing F5 run method AROUND THE BLOCK. Only about member variables, local to the method created in the functioning correctly.
