mstandio/SaladoPlayer — pull request #15 by franckinux (2013-01-06 21:49:03+00:00)
Title: checkPolicyFile flag (again)

HelloMarek,

I've identified 5 more places in the modules where I have to change the checkPolicyFile flag in the loading context.

The concerned modules are : NadirSpot (file NadirSpot.as), ImageButton (file ButtonController.as), ImageGallery (file ImageController.as), ImageMap (file MapController.as) and MenuScroller (file ElementController.as).

I need these changes because, using the Django framework, static files are not served the same way media files are. In my case, photos (including hotspot images that I want the user to be able to change) and music files are in the domain media.mydomain.com, they can be uploaded by the user. At the contrary, static files (for example images of buttons) are in static.mydomain.com and they never change. They can be found on the same or in a lower directory than SaladoPlayer.swf and can be accessed using the tilde shortcut. This is why there is no inter domain security problem for fetching static files.

Cheers,
Franck