God it hurts me just to look at GS1 now that I've been working with GS2 for so long
Are both parts in the same script? If not I don't think it would work because the flag would only be setting for that one script, and thus the other wouldn't be able to read it.