[BUG] Caching Actionscript - Kinda

Sen I have another bug for you, I was wondering if anyone else had this issue.

Problem:
Flex is literally caching Actionscript code.

Example:



public function getAdURL(type:String,action:String="",itemID:String=""):String
{
trace('type: ' + type); 

}


Later one I decided I didn’t want to actually trace that value so I put commented that line of code



public function getAdURL(type:String,action:String="",itemID:String=""):String
{
//trace('type: ' + type); 

}


When I debug the Flex app, that line was still tracing, weird I know.

The first thing I did was make sure I had the latest file from SVN, making sure that my source was set to the proper directories etc…

In short I’m 100% positive it was compiling that file, no questions about it.

I restarted my computer, restarted flex, cleaned my project and refreshed.

Same problem, how could this be?

For sanity sake, I deleted the line (still commented).



public function getAdURL(type:String,action:String="",itemID:String=""):String
{

}


Finally, it went away!

I have to say since I’ve been using Flex all day everyday, I’ve ran into a few big problems with the actual software. I’m close to switching to Eclipse to see how that goes.

Also correct me if I am wrong but you can compile mxml is Eclipse as long as you have the Flex SDK correct?

Thanks yall