More help needed, yay
//pageResult_lv.returnedType is loaded from MySQL database
//for our purposes here, that doesn't matter
var pageResult_lv.returnedType = "Staticpage";
var fetchPage = "page/"+pageResult_lv.returnedType+".as"; // outputs page/Staticpage.as
#include fetchPage
//
//**Error**Malformed #include directive: #include fetchPage
Is there any way at all I can define the file I need loaded in a variable and include the file that way? The only other way I can think around this issue is incredibly labour intensive and takes me places I really donβt want to go (like dynamically writting script heavy AS files using PHP, no fun).
PS. There seems to be an error in how this forum displays #includeβs