Passing Variables from Another Timeline

Thanks in advance for your help.

I have a flash product order form. In the last frame, you add you email address and hit submit to send the data using formmail. I need to pass variables that I have specified in other timelines as well as the email address. What scripting can I use to make this happen?

For example: In frame 1 on the main timeline, I have a movie clip called “color.” This movie clip has several frames, each having a different color valiable (Color = “blue”:wink: In frame 2 on the main timeline, I have my form where the user enters their email address and click’s the submit button. How do I make sure that formmail will receive the Color variable value from the movieclip in frame 1 in addition to the email address in the form.

Something like this on the submit button??

on (release) {
recipient = "tony@aleven.com";
subject = “Build Your Own Umbrella”;
_root.mc.Color = Type;
loadVariablesNum(“http://www.url.com/cgi-bin/formmail.pl”, “0”, “POST”);

}
}

Thanks!