Getting compile errors when building to flash, but can compile fine otherwise

Hello,

When I try to build to flash I get about 90 errors. Most of the errors say something like this “(variable name) is not a member of unity.engine.component” or “transform is not a member of object”. I can compile and run fine while in the editor or using the web player.

Any help would be appreciated.

Flash, like other platforms aside from desktop and web, has #pragma strict enabled for all scripts. You must remove dynamic typing from your code.

–Eric

That would do it, thanks!