# \[BUG\] Caching Actionscript - Kinda

**URL:** https://forum.kirupa.com/t/bug-caching-actionscript-kinda/294046
**Category:** flash
**Created:** [August 7, 2009, 1:29pm UTC](https://forum.kirupa.com/t/bug-caching-actionscript-kinda/294046 "2009-08-07T13:29:03Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Digitalosophy](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/digitalosophy/32/1114_2.png) [@Digitalosophy](https://forum.kirupa.com/u/Digitalosophy)
#### Post date: [August 7, 2009, 1:29pm UTC](https://forum.kirupa.com/t/bug-caching-actionscript-kinda/294046/1 "2009-08-07T13:29:03Z")

</div>

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

Problem:  
Flex is literally caching Actionscript code.

Example:

```auto

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

```auto

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).

```auto

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
