Avatar of Jay Roy
Jay Roy
Flag for United States of America

asked on 

this.parentDocument for actionscript file

hi guys

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


Apache Flex

Avatar of undefined
Last Comment
Jay Roy

8/22/2022 - Mon