all groups > flash data integration > september 2006 >
You're in the

flash data integration

group:

Image in Flash


Image in Flash stuart__s
9/11/2006 11:37:07 PM
flash data integration:
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
Re: Image in Flash Prpl_Ppl_Etr
9/13/2006 12:00:00 AM
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.
AddThis Social Bookmark Button