all groups > flash actionscript > september 2007 >
You're in the

flash actionscript

group:

cs3 bug - global objects and frame labels



cs3 bug - global objects and frame labels dMotive
9/15/2007 6:32:12 PM
flash actionscript: Just found a bug that took me an hour to figure out.
A strange problem occurred when I had a global object and a frame label named
the same.
Example:
_global.discussion = new Object();
//lots of functions here

I was directing the timeline of a movieClip to the frame label "discussion".
On this frame there were a number of actions involving the discussion object.
However, flash was treating the object as if it didn't exist. All variables /
functions residing in this object were completely gone. Has anyone seen this
problem. If not, watch out for it.

james
Re: cs3 bug - global objects and frame labels kglad
9/15/2007 10:00:42 PM
AddThis Social Bookmark Button