I am making a simple thing to display a bandname and picture. I will work against a CMS and shall get title and pictureinfo from the database.
I am almost done with it, but need some help with a little part of the flash file.
The flash gets all info from an generated XML , like this: http://pastie.org/237427
AS2 in fla: http://pastie.org/237428
I wonder if there is a way to set the mc “bildet” to a spesific size, and to make the AS tell the picture to scale to the either minimum height for landscape images or minimum width for portrait images. I need this because the site will be updated by different persons.
I have tried to make it work in some way with the last two lines. The picture displays correct when I set 150, but the “window” for display is 190px heigh.
Guess there is some things I dont understand yet.
Posted 2 months ago











