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?