warning: Creating default object from empty value in /home/mlange/codes.widged.com/modules/taxonomy/taxonomy.pages.inc on line 34.


Avoiding sandbox violation in AIR when using DragManager on locally stored images

For a mini AIR project I had some issue with sandbox security violation warnings that kept coming up any time I was using DragManager on images for which the source had been set to some locally held images (within the User Directory).

To bypass these warning, it is required to load the bytes into a bitmap and to get the image component display the bitmap. Code below.

Syndicate content
Powered by Drupal, an open source content management system