Help with global variables

Hi Everybody,
Is there a way, anyway that I can make a variable in flash transcend from a movie to another. In other words; let us say we have two swf movies:
swf A, swf B. In the movie swf A, there is a variable called “view” wich is set by default to “1”. Swf B also contains the same variable and value; when playing swf A, if I set the value of the variable “view” to “2” and I do sometime like this:
_root.(or _level0)loadMovie"swf B", how can the new called swf “know” that the variable view was previously set to “2” (or someting else), instead of keeping his own default value (Is this the role of the global variables, if yes how, if no what will I do).
If it is not possible in flash 6, please tell if it’s possible in flash 7 or 8.
If not can you please tell me what will you do to solve this problem in another way.

                               Thank you, any help will be appreciated