Greetings, all!

I have a relatively simple task that I can’t get to work.
I want to read values from a textfile on the fly.

The textfile is called “colours.txt” and contains the following text:

I am using the following code to read it (the code sits in the first layer [Actions]):
var test = “x”;
loadVariablesNum(“colours.txt”, 0);
trace("test: " + test);
When I execute the file, the trace shows “test: x”… can anyone tell me why? What am I doing wrong?
Thanks in advance!