# .cfm variable to flash?

**URL:** <https://forum.kirupa.com/t/cfm-variable-to-flash/235663>\
**Category:** flash\
**Created:** [August 13, 2007, 8:59pm UTC](https://forum.kirupa.com/t/cfm-variable-to-flash/235663 "2007-08-13T20:59:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hey\_suburbia](https://avatars.discourse-cdn.com/v4/letter/h/977dab/32.png) [@hey\_suburbia](https://forum.kirupa.com/u/hey_suburbia)\
**Post date:** [August 13, 2007, 8:59pm UTC](https://forum.kirupa.com/t/cfm-variable-to-flash/235663/1 "2007-08-13T20:59:40Z")

</div>

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:

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

```

And this in the last frame:

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

```
