Short of naming lots of variables with prefixes for what section of my config they belong to, I thought I'd make a custom object for each section and assign the properties to them. However - no matter what I do, writing AS3 in FlashDevelop, when I compile I get the access of undefined property error if I try to use any objects! I've tried every example I find online and they all fail! eg
var car:Object = new Object();
car.name = "A car";
or
public var Settings:Object;
Settings = new Object();
or
Settings = { Section1:"" };
or whatever. I'm going mad because this was supposed to be a simple alternative to long variable names, and objects in AS1 were simple to make and get/set properties to. Now I can't even make one ><
_________________________________
Leozack
var car:Object = new Object();
car.name = "A car";
or
public var Settings:Object;
Settings = new Object();
or
Settings = { Section1:"" };
or whatever. I'm going mad because this was supposed to be a simple alternative to long variable names, and objects in AS1 were simple to make and get/set properties to. Now I can't even make one ><
_________________________________
Leozack
Code:
MakeUniverse($infinity,1,42);