Image doesn't fill entire page in Edge Animate
I've placed an image on the stage. This image is supposed to be a background. I've scaled this image up so it is definitely covers entire stage. When I test it in browser there are white margins on both left and right side of this image, that is, the image doesn't fill entire web. Could anyone please tell me how to fix it?
3880 views 10 answers
Post My Answer
0
Try to use this for your image
sym.$('yourImage').css({
'background-image': 'url("imageName.jpg")',
' background-repeat': 'no-repeat',
'background-size': 'cover',
' -moz-background-size': 'cover'
});
2014-07-11 0 Comments