file.showImageEditor(Number,Number) Method HTML5/Flash Uploader JavaScript

Supported technologies: Adobe FlashHTML 5

Opens a file in the built-in image editor.




If no coordinates specified, the uploader will appear in the center of the uploader interface. Specifying custom coordinates of the dialog is useful when you hide the standard interface and want to control where it appears.

For example, assume that you want to display it in a div with id equal to my-elem. You can calculate it as follows:

var uploader = $au.imageUploaderFlash("Uploader1");
var bounds = document.getElementById("my-elem").getBoundingClientRect();
uploader.showImageEditor(bounds.width/2 + bounds.left, bounds.height/2 +;