var action = ['function1','function2' etc ]
var obj = new objectcreate ();
for (functionname in action){
obj+'.'+action[variablename]+'()';
}
the functions are already generated I just wanna go through an array and execute all the functions it on the object i created
thanks for your help
obj[action[functionname]]();will do the trick.