shopbeam/Flash-Widget-Example — pull request #6 by bryanchriswhite (2014-07-12 18:41:35+00:00)
Title: Bryan

This is a more complete example as it now duplicates the functionality of the html5/js, single-variant widget.

There is a minor bug regarding the "Shop Here" text and the active/inactive bag (`hoverMovie: MovieClip`) as it tweens from right to left on mouseover: sometimes it resets to it's original position after tweening.

#### Other considerations:

There are some changes that need to be made to the readme regarding the `imageUrl`. As long as we're providing instructions for manual manipulation of paste-code, we need to add steps:
* encode the `imageUrl` (and any other `FlashVars` for that matter. I think it says this but the example does not do it)
* change the cloudinary url to include the proper width, height and crop option. This is acheived by using the `w_`, `h_` and `c_` url params respectively.
* info on crop modes and other cloudinary api details can be found [here](http://cloudinary.com/documentation/image_transformations#crop_modes)
* e.g. given width: 300, height: 600 and crop mode: fill; `https://cloudinary-a.akamaihd.net/shopbeam/image/fetch/w_300,h_600,c_fill/.png `
* this modification should be made to the `imageUrl` in the `FlashVars` as well as in the `data-image-src` attribute
* also it looks like something went wrong during copy/paste in the `data-shopbeam-url`:
![screenshot 2014-07-12 20 38 30](https://cloud.githubusercontent.com/assets/600733/3562488/f5528b12-09f3-11e4-9546-93d643efb5f4.png), the `&`s got html-encoded. We should watch out for this and see if we can identify what happened to know if this is an isolated incident or if it will be a consistent issue