Hey there,
I am looking for someone to give their input here.
I have a flash project that consists of approx 12 different individual AVs. There is an overall menu from where you can get to each property. Each property has a title and other text such as instructions, buttons etc. All of the titles have the same text details such as size, letterSpacing, leading etc. But each title is different.
Each property is made by a different class and so each one of the classes would pull its title from the custom text/title class I am writing out.
So, currently I have a TextFormat that lays down the different formats that are needed. Then I have a TextField for each title. But that comes out to 132 lines of code just for the titles and its all really repetative of the same thing. The only line that is different is:
titleField.text = “SAMPLE TITLE”;
So I have been trying to figure out how to economize on the code here because in the future if I have to change one line from one title I will have to go through all of them and change them even though it changes to the exact same thing etc. etc. etc. I’m sure you understand :hang:
There is surely a better way of doing this! can you give your input?
TIA!