If anyone with more intelligence can help I would be extremely grateful.
I am creating a flash project that selects at random 25 questions from a MYSQL
database. Some of these questions are text, some refer to a diagram that is an
image.
I am looking to have any questions that refer to an image logged into the
database as http://www.testdomain.com/image.jpg.
Can anyone tell me how I can get this image to display in flash? At a certain
resolution if possible?
Many thanks in advance for your help.
Regards
Stuart Seeley
Prpl_Ppl_Etr - 13 Sep 2006 06:06 GMT
var
loadedImage:MovieClip=this.createEmptyMovieCip("loadedImage",this.getNextHighest
Depth());
loadedImage.loadMovie("http://www.testdomain.com/image.jpg");
The only resolution available is the one your monitor is set to. If you mean
dimensions, you can play with the width and height properties of loadedImage.