MXMLC FileReference.load() compiler error

On my linux box I am running the Flex SDK 3.2, and tried to use the funky new load() method for FileReference (which pulls the byteArray data of the loaded file = sweet). But my Flex wouldn't compile it, complaining of an error:

Error: Call to a possibly undefined method load through a reference with static type flash.net:FileReference.

The fix?

Edit my /flex/frameworks/flex-config.xml and change the target-player version from 9.0.124 to 10.0.12.36 (even though linux is currently 10.0.15.3)

A hack a day keeps the blues away...

Aaron

Posted

Dec 23, 2008
by AnonymousUser

Categories

General Posts