.cfm variable to flash?

How do I receive a variable from a .cfm file in flash say “certification_id”, then pass it back to the .cfm file.

Currently, I have this in the first frame:

//load userid
l = new LoadVars();
userid = l.certification_id;
l.load("saveresults.cfm",l,"get");

And this in the last frame:

//Here's the variable being sent to the cold fusion document
l = new LoadVars();
l.certification_id = userid;
l.sendAndLoad("saveresults.cfm",l,"post");