I have a case where I am using an included .as file in flashbuilder 4.6 (apache flex sdk) (would post code but due to the size of the amount of code I think it would be overkill)... the included file has some AS3 code that runs fine, but I just added a call to a function that's defined in the PARENT mxml document... I get an error that's reporting that the included .as file doesn't know what the function is -- as if it doesn't exist at all.
Is there something I need to append the beginning of the function call? I know from another project a few days back I discovered during some work on one of my first serious itemrenderer attempts that I had to use outerDocument. at the front of the function ... i.e -
outerDocument.MyFunctionNameHere();
as long as my parent document has the function defined as a public function, it should be 'visible' to the code in the included .as file, right?