Skip to content Skip to sidebar Skip to footer

How Can I Have Html5 Fileapi Support In Flex?

I need Flex code to support HTML5 File API. Because I need to support File API feature for those browsers that did not support File API. Do you have any code or link?

Solution 1:

I a few things to say. First most of the Flash File API is AIR only, so will not work in a browser based application. FileReference will work in a browser app, but depends on what you're trying to do explicitly.

To communicate between JavaScript and ActionScript; you can use ExternalInterface.

You can use ExternalInterface to call JavaScript functions from ActionScript. Info on that.

You can also use ExternalInterface to call ActionSCript functions from JavaScript. Here is some info on that.

Post a Comment for "How Can I Have Html5 Fileapi Support In Flex?"