# Is this possible?

**URL:** <https://forum.kirupa.com/t/is-this-possible/109476>\
**Category:** Uncategorized\
**Created:** [May 5, 2004, 9:21pm UTC](https://forum.kirupa.com/t/is-this-possible/109476 "2004-05-05T21:21:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aeona](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@Aeona](https://forum.kirupa.com/u/Aeona)\
**Post date:** [May 5, 2004, 9:21pm UTC](https://forum.kirupa.com/t/is-this-possible/109476/1 "2004-05-05T21:21:13Z")

</div>

Hi people!

To give you an idea of what I’m trying to do (and to show you that I make the efforts to look by myself…)

I’ve succeded to pop up a window with flash by calling a function in my html.  
I’ve send it the parameters about wich video I wanted in the pop up.  
I’ve succeded to send the variable to my pop up and to finally mix the variables with the code to call my video.

_painting_

well, I still don’t know how to return a variable to a new swf…

But my problem right now:

My employer wanna be able to modify the site easily.  
The videos are not always available.  
If there is no video, I must hide the button…  
So I tought about making a variable yes/no in a txt file that would be easy to change for him…  
But it would seem like I absolutely need to send it in a dynamic text…  
loadVariables(“texte\_1.txt”,\_root.description);  
I can’t use the words directly as a variable:  
MyVariable = loadVariables(“texte\_1.txt”);

I need to precise wich variable in my txt file (movie\_1, movie\_2, etc) that I wanna use…

so my question is: how can I get a variable from a txt file and use it directly like it was a normal variable.

Is this possible? (do you understand me… cause I’m not shure that I do…)

Thanks!

–

edited.

you know… it would be much easyer to verify if the movie exist in the folder… do you have a code or some clue?
