Flash resize and center for xml image viewer

Cancelado Publicado Dec 21, 2008 Pagado a la entrega
Cancelado Pagado a la entrega

Hi this is a very quick fix for a flash expert! I need the code changed for my FLA so that the images/swfs are scaled proportionately when they are loaded via XML. Currently any images or SWFs have to be the exact size of the loader, and the registration is set to the upper left. I'd rather have all images and swfs loaded with the registration point in the center, and proportionately scaled so that I don't have to adjust any images - especially SWFs which are a nightmare to re-scale.

Both FLAs are part of the same project - and contain the same code for calling the files via XML. Example of this actionscript (2.0) is here:

var x:XML = new XML();

[url removed, login to view] = true;

var urls:Array = new Array();

var projectNames:Array = new Array();

var projectDates:Array = new Array();

var projectNumber:Number;

[url removed, login to view] = function(success) {

var thumbs:Array = [url removed, login to view];

for(i=0;i<[url removed, login to view];i++) {

// stacey reiman change made to line 17 to allow for editing as a NODE in the xml image editor

[url removed, login to view](thumbs[i].[url removed, login to view]);

[url removed, login to view](thumbs[i].[url removed, login to view]);

[url removed, login to view](thumbs[i].[url removed, login to view]);

}

// Load Thumbs via XML nodes.

[url removed, login to view](urls[0]);

[url removed, login to view](urls[1]);

[url removed, login to view](urls[2]);

[url removed, login to view](urls[3]);

[url removed, login to view](urls[4]);

[url removed, login to view](urls[5]);

[url removed, login to view](urls[6]);

[url removed, login to view](urls[7]);

[url removed, login to view](urls[8]);

You can just tell me how to change the above - I can change and test it myself - and I'll pay you right away! I've attached one of the FLAs here so you can see for yourself in case you want to test.

Adobe Flash

Nº del proyecto: #360637

Sobre el proyecto

2 propuestas Proyecto remoto Activo Dec 24, 2008

2 freelancers están ofertando un promedio de $30 por este trabajo

blazesoft

PLease see PM for details.

$30 USD en 0 días
(18 comentarios)
4.2
hostechsupport

Can start now...

$30 USD en 1 día
(5 comentarios)
2.6