[Flashcoders] Can a class be conditionally included with an if statement

2006-03-03 Thread Manuel Saint-Victor
Would something like this keep a file from being included in compilation ? If(debug){ debugData:TestData=new TestData(); } My goal is to have some class files that are not compiled if that value is set to debug=false. Or does the mere mention of the TestData class make it get packaged in my

Re: [Flashcoders] Can a class be conditionally included with an if statement

2006-03-03 Thread Johannes Nel
that class will get included search for a pre-compiller On 3/3/06, Manuel Saint-Victor [EMAIL PROTECTED] wrote: Would something like this keep a file from being included in compilation ? If(debug){ debugData:TestData=new TestData(); } My goal is to have some class files that are not