Frequently Asked SDK Questions

See also Frequently Asked Questions for non-SDK questions.



MediaLandscape Player

Why do I get compile errors regarding autoSize?

A: Upgrade to Flash v7.2.

There are some bugs in Flash v7.0 and v7.1 that cause compile errors for valid code. Macromedia fixed many of those bugs in Flash v7.2. As of this writing, that update is a free download from

Why do I seem to get old versions of the player when I recompile?

A: Try clearing Flash's compiler cache.

The Flash compiler has a nasty bug that it over-aggressively caches object files. If you are working on two copies of a particular Actionscript class (for example, a main version in one folder and a test version in a different folder) Flash does not accurately test which version you are trying to compile and will use the last version, which may be wrong. The workaround is to manually clear the compiler cache when switching versions of a project.

Generally, the steps are:

On MacOS, that folder is usually located here:

  /Users/<username>/Library/Application Support/Macromedia

On Windows, that folder is usually located here:

 C:\Documents and Settings\<username>\Application Data\Macromedia

On MacOS, you can clear the cache with this command that you can copy-and-paste into the Terminal:

  find $HOME/Library/Application\ Support/Macromedia/Flash\ MX\ 2004/en/Configuration/Classes \
       -name '*.aso' | xargs /bin/rm