Jesse
10-02-2003, 12:44 PM
In FMX2 we're all going to be using external class files which are neatly encapsulated and very good for OOP but I've come across a situation (using the formatting option of the WebServiceConnector component to be exact) where I need to reference an MC on the stage from within a Class method wich resides in an external file. Now I know HOW to do this, but I'm looking for opinions on what the BEST WAY, in terms of good conding practice would be.
What do people think would be considered best practice when this situation occurs? Using absolute paths? Using relative paths? Passing in the path as an argument? Some other means?
I'm after opinions more than anything else, with justification if possible.
Thanks in advance.
What do people think would be considered best practice when this situation occurs? Using absolute paths? Using relative paths? Passing in the path as an argument? Some other means?
I'm after opinions more than anything else, with justification if possible.
Thanks in advance.