Hello, I am testing the capabilities of the environment for WMS integrations, and as such we would need to write a lot of custom code. In fact, the grand majority of our work on the simulator would be about writing custom code and making a sort of shared code library we can easily leverage from model to model.
Naturally, the code would include a lot of re-usable parts that would be great to have as functions or methods, but I haven't found anything to declare such things per se in FlexScript - a cursory search suggested some workarounds with function_s and events, or having a custom object with FlexScript stuffed into labels, but is there a better practice for reusable code at this time?
Likewise, I'd like to be able to declare objects (or rather, classes/structs) to hold multiple attributes or even functions/methods, but I have not found a way to do something like this. For example's sake, let's say I want to implement a Car object, and the object would then have attributes like color, make, model, etc, and I'd pass instances of this object around in code. Is there a workaround to achieve this kind of a structure?