# Absolutely UNBELIEVABLE

**URL:** <https://forum.kirupa.com/t/absolutely-unbelievable/239565>\
**Category:** flash\
**Created:** [September 23, 2007, 2:53pm UTC](https://forum.kirupa.com/t/absolutely-unbelievable/239565 "2007-09-23T14:53:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Torq](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/torq/32/2378_2.png) [@Torq](https://forum.kirupa.com/u/Torq)\
**Post date:** [September 23, 2007, 2:53pm UTC](https://forum.kirupa.com/t/absolutely-unbelievable/239565/1 "2007-09-23T14:53:40Z")

</div>

This is… insanity. I can’t explain how frustrating this is.

I would say I’ve tried everything but I couldn’t have or it’d be working :{:{:{

Sending form info with send() and LoadVars.

my\_loader.onData = function(src:String)  
{  
var start:Number = src.indexOf(‘some words here’);  
var str1:String = src.substr(start + 22, 50);  
var end:Number = str1.lastIndexOf(’"’);

```
 Engine.m_MyName = str1.substr(0, end);

```

};

my\_loader.load(“ANY SITE DOESNT MATTER”);

var my\_lv:LoadVars = new LoadVars();

**Works:**  
my\_lv.user\_id = “dae\_mn==”;

\*\*Works:  
\*\*var myname:String = “dae\_mn==”;  
my\_lv.user\_id = myname;

**Doesn’t Work:**  
my\_lv.user\_id = m\_MyName;  
trace(m\_MyName); //output: dae\_mn==

**Doesn’t Work:**  
my\_lv.user\_id = m\_MyName.toString();  
trace(m\_MyName); //output: dae\_mn==

**Doesn’t Work:**  
my\_lv.user\_id = String(m\_MyName);  
trace(String(m\_MyName)); //output: dae\_mn==

**Doesn’t Work:**  
my\_lv.user\_id = ‘"’ + m\_MyName + ‘"’;  
trace(’"’ + m\_MyName + ‘"’); //output: “dae\_mn==”

**Doesn’t Work:**  
\_root.mynamebox.text = m\_MyName;  
my\_lv.user\_id = \_root.mynamebox.text;  
trace(\_root.mynamebox.text); //output: dae\_mn==

**Doesn’t Work:**  
my\_lv.user\_id = m\_MyName.substr(0, m\_MyName.length);  
trace(m\_MyName.substr(0, m\_MyName.length)); //output: dae\_mn==

So m\_MyName traces to exactly dae\_mn== with no spaces, exactly the same, but it won’t take the m\_MyName variable. It must have to do with the origin of the text. But how can it still not work after all that converting?

The var is just an example, but that is EXACTLY my problem. It works perfectly in quotes, but just won’t work otherwise. Which is just stupid! Maybe it has to do with the formatting of the underscore and equals sign. I dont know ☹ I’ll never figure this one out. If anyone could please help me!! I’ll love you forever and stuff.
