Change global variables with external swfs

Is there a way to have a global variable in my main movie, and when certain external swfs load in, it change the value of the variable? Any help would be appreciative!