# Loading var. from ext. file into a flash variable (not into a dynamic text field)

**URL:** <https://forum.kirupa.com/t/loading-var-from-ext-file-into-a-flash-variable-not-into-a-dynamic-text-field/243066>\
**Category:** Uncategorized\
**Created:** [November 2, 2007, 12:41pm UTC](https://forum.kirupa.com/t/loading-var-from-ext-file-into-a-flash-variable-not-into-a-dynamic-text-field/243066 "2007-11-02T12:41:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pfisterer](https://avatars.discourse-cdn.com/v4/letter/p/9d8465/32.png) [@pfisterer](https://forum.kirupa.com/u/pfisterer)\
**Post date:** [November 2, 2007, 12:41pm UTC](https://forum.kirupa.com/t/loading-var-from-ext-file-into-a-flash-variable-not-into-a-dynamic-text-field/243066/1 "2007-11-02T12:41:52Z")

</div>

Hi!

I’m trying to load a simple variable &myVar from a php file into my flash movie, that’s a blank movie with just actionscript in it.

I tried to load this &myVar into a dynamic Text field and it works fine, but I can’t get this value into a flash variable to manipulate it with actionscript… Must be simple… My actionscript it

PHP file:

```php

$x = "abc";
print "&myVar=$x";

```

ActionScript:  
ActionScript Code:  
[FONT=Courier New][LEFT][COLOR=#0000FF]loadVariables[/COLOR][COLOR=#000000]([/COLOR][COLOR=#FF0000]“[http://www.sywebspace.co.uk/cleveland/new/analog.php](http://www.sywebspace.co.uk/cleveland/new/analog.php)”[/COLOR], [COLOR=#0000FF]this[/COLOR], [COLOR=#FF0000]“GET”[/COLOR][COLOR=#000000])[/COLOR];  
[/LEFT]  
[/FONT]

How to get the myVar value into a FLASH VARIABLE?

not into a dynamic text field, please, because I did this already but it’s not what I want.

Many thanks for any help!!!

:hr::hr::hr:
