Best practice re: paths in class files
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.
__________________
Cheers
Jesse Stratford
ActionScript.org Cofounder
Please don't email or PM me Flash questions, that's what the Forums are for!
Please don't rely on me reading my PMs either. Email me about important stuff.
|