swf small component with javascript interface
$30-100 USD
Pago na entrega
Hello I need a small swf component with javascript external interface enabled, that will display an image. The image will be received using the external javascript as a base64 string that will be as follows:
data:image/png;base64,R0lGODlhDwAPAKEC...(more chars here)
the function associated will be **setImage(base64_string);**
The component will support all the images format or at least png/jpg/gif.
The component will fill the enclosing html( let's say a div) element 100% width and height, so will not have a predefined size.?
I need the image to resize inside to be full displayed, but keeping it's aspect ratio, but if the image is smaller then the elements dimensions, NOT to expand.
so let's say movie has 300x300, and the image 600x400 - in this case the image will be displayed 300x200
if the image will have 16x16, then it will remain 16x16
If this is not clear let me know and I'll explain better.
I need some parameters ( through javascript or movie parameter, you choose) to be able to align the image inside the movie.( top/middle/bottom ? left/center/right)
I need this in as3 and compiled with flash, because I made this with flex, and the resulting movie is huge. I can provide the flex code I made if necessary but I prefer you to make this.
ID do Projeto: #2992474