Try this: if ("load" in fileReference) fileReference["load"]();
That should compile against the Player 9 version of playerglobal.swc, but, in Player 10, detect that the method exists and call it by name. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Richard Rodseth Sent: Wednesday, July 22, 2009 6:12 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] FileReference.load() I was hoping to provide an optional feature that requires reading a local file if Player 10 is available, without requiring 10 for the whole application. But it appears that I can't compile code that uses FileReference.load() without setting the target player in FlexBuilder. Anyone dealt with this situation?