# Load variables error

**URL:** <https://forum.kirupa.com/t/load-variables-error/235670>\
**Category:** Uncategorized\
**Created:** [August 13, 2007, 10:31pm UTC](https://forum.kirupa.com/t/load-variables-error/235670 "2007-08-13T22:31:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![abhi4u](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@abhi4u](https://forum.kirupa.com/u/abhi4u)\
**Post date:** [August 13, 2007, 10:31pm UTC](https://forum.kirupa.com/t/load-variables-error/235670/1 "2007-08-13T22:31:24Z")

</div>

I’m getting an error in my flash file so, please help me.

I’ve photographer.fla file. In this file i got an below error.

**Error** Scene=Scene 1, layer=act, frame=2:Line 2: Type mismatch.  
\_root.loadVariables(“text.html”, 0, “POST”);  
Total ActionScript Errors: 1 Reported Errors: 1

now text.html is a html file(i’ve my bio-data mean it’s a html file but i can change it thru click on right mouse button and open it in notepad). Basically i’m getting above error when i’m try to make a .swf file or html file.  
So, how i can solved this error? and yes, i’m using flash 8.0

thank you
