I have a line like this
var searchString : String = (this.parentDocument as TradeLookUp).parseSearchText();
TradeLookUp is mxml file.
I have an actionscript file CustomLookup
but when i give
var searchString : String = (this.parentDocument as CustomLookup).parseSearchText();
i get an error.
i guess this.parentDocument works with mxml
any idea whats the solution