Archive for category Uncategorized

Adobe MAX Widget

See you there!

…from Ted’s Blog

Post to Twitter Tweet This Post

,

No Comments

Flex Compile Error 1195

This was a simple issue that gave me a 5 minute headache b/c the error wasn’t clear enough, so I thought I’d share..if you ever run into the following Flex Compiler error:

1195 Attempted access of inaccessible method <methodName> through a reference with static type <fullQualifiedClass>.

…maybe you did what I did and changed a public function to a public set function, but forgot to change the implementation where you used it…so my interface was originally:

public function bar(str:String):void;

and then I changed the bar method to a setter method like this:

public function set bar(str:String):void;

so I also needed to change my implementation of that method from:

foo.bar("str");

to

foo.bar = "str";

…a simple mistake that led me to a slightly convoluted error that I hope helps someone else.

Post to Twitter Tweet This Post

No Comments