Groups | Blog | Home
all groups > flash (macromedia) > september 2003 >

flash (macromedia) : Loading Jpegs directly into flash?


alwaysabitlost
9/5/2003 9:50:19 PM
Hi Everyone

Basically I'm trying to find out if I can use flash to create a projection for a screen at an event.

They want the whole projection (which will be running full screen from a laptop) to be encapsulated within a "Polaroid" shaped frame, with images taken from previous events being put up in the "window" of the frame.

There will be new photos added each week, so what I want flash to do is load in the jpeg images (which they can set to a specific size) and pull in the whole lot new and old each week and put them up. If possible I'd like there to be some sort of transition between each image of it's at all possible. The people using the system have no experience of flash and just want to put the images in a folder on the desktop and let the solution do the rest.

Any help greatly appreciated.

Regards

Paul



One Louder
9/5/2003 10:01:52 PM
Yes, Flash can load JPEG images dynamically, as long as they aren't "progressive" JPEGs (that's a format, not a political leaning), using the "loadMovie()" function/method. You can find many samples of this sort of slideshow at places like FlashKit.com, etc.

However, it's not *quite* as simple as just putting the images in a directory, since Flash can't query the file system to get a count or list of file names. If your server supports any kind of scripting, this can be done very quickly using a simple script to catalog the files and put the names in a little file for Flash to use with LoadVars or XML.

Hope this helps.

AddThis Social Bookmark Button