data = new Array;

data.first = "hello";
trace (data.first);
// the trace returns hello

dynamic = first; // this will possible be different
trace (data.dynamic);
// the trace returns null when I want it to return hello

I've tried many ways and all fail soo here I am asking for help! How do I get the dynamic variable possible used in the fetching of the content of the array?