fslick
11-22-2006, 02:18 AM
Hello all,
Okay so I have this flash "app" that parses xml data and visualizes it appropriately. One of the xml tags it parses is the name of an image, that gets updated every 2000 milliseconds or so.
As for my problem, I cannot get the image to be displayed at its full resolution (a "current" or "second" image in the frame), or any image for that matter -- it probably shows them all at something like < 300 x 150 pixels. I was hoping that someone could shed some light on this subject or point me in the right direction.
Here's a snipit of the important code:
//new function that gets the xml object/string passed in
function updateImage (newFile:String)
{
// Hide the "current" frame, and load the picture into it.
currentPic_mc._alpha = 0;
currentPic_mc.loadMovie (newFile);
//trying to force it to display the images at a different size -- doesn't work
currentPic_mc._xscale = currentPic_mc._yscale = 30;
//finally 2 built in flash calls that ease the images in and out
new mx.transitions.Tween( blah blah etc )
}
If anyone needs any more info to decipher my question, I'd be happy to reply. Thanks again for reading!
-fslick
Okay so I have this flash "app" that parses xml data and visualizes it appropriately. One of the xml tags it parses is the name of an image, that gets updated every 2000 milliseconds or so.
As for my problem, I cannot get the image to be displayed at its full resolution (a "current" or "second" image in the frame), or any image for that matter -- it probably shows them all at something like < 300 x 150 pixels. I was hoping that someone could shed some light on this subject or point me in the right direction.
Here's a snipit of the important code:
//new function that gets the xml object/string passed in
function updateImage (newFile:String)
{
// Hide the "current" frame, and load the picture into it.
currentPic_mc._alpha = 0;
currentPic_mc.loadMovie (newFile);
//trying to force it to display the images at a different size -- doesn't work
currentPic_mc._xscale = currentPic_mc._yscale = 30;
//finally 2 built in flash calls that ease the images in and out
new mx.transitions.Tween( blah blah etc )
}
If anyone needs any more info to decipher my question, I'd be happy to reply. Thanks again for reading!
-fslick