Flash resize and center for xml image viewer
$30-250 USD
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.
Nº del proyecto: #360637