# Problem with flashmx and cfm

**URL:** <https://forum.kirupa.com/t/problem-with-flashmx-and-cfm/123161>\
**Category:** Uncategorized\
**Created:** [September 21, 2004, 1:34am UTC](https://forum.kirupa.com/t/problem-with-flashmx-and-cfm/123161 "2004-09-21T01:34:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pixeldude](https://avatars.discourse-cdn.com/v4/letter/p/57b2e6/32.png) [@pixeldude](https://forum.kirupa.com/u/pixeldude)\
**Post date:** [September 21, 2004, 1:34am UTC](https://forum.kirupa.com/t/problem-with-flashmx-and-cfm/123161/1 "2004-09-21T01:34:48Z")

</div>

is there anybody can help me to point me to the rite path…really need help…i just wanna pass my variable to the cfm page…and then insert to the Access database…with variable name “NAME, ADDS, EMAIL” but it’s seem not working at all…is it this code totally wrong…

code in flash:  
[AS]  
//frame1  
stop();

btn1.onPress = function(){  
loadVariables(“insert.cfm”,"\_root",“POST”);  
}  
btn1.onRelease = function(){  
gotoAndPlay(2);

}  
[/AS]

code in cfm page:

```auto

<cfset NAME = NAME>
<cfset EMAIL = EMAIL>
<cfquery name ="Getdtbase1" datasource="myDSN">

INSERT INTO Users(NAME,EMAIL,ADDS)
VALUES('#NAME#','#EMAIL#','#ADDS#')

</cfquery> 

```

pls help me…or is there any thread for it…or link to it…thx
