|
| I have written a gallery and CMS that does exactly that flashblocks.com
Sunny
http://flashblocks.com
php and flash cms content management system
Quasimotolioli wrote:
> THE PLAN: I am using Flash MX 2004 and I want to build something that loads a
> series of .jpg images dynamically. I want the images to either load randomly
> or sequentially, doesn't matter, from a images dir on my server. THE PROBLEM:
> I have searched endlessly on the web in tutorials, forums, etc. for an answer
> to this so there must a master out there somewhere to help me. I have made the
> script in flash that can pull images into flash dynamically from a images
> directory and rotate them in sequence just fine. HOWEVER, if I do not
> predefine the image names (i.e. '1.jpg', '2.jpg, '3.jpg', etc.) then flash
> doesnt know what the images are to load. ALSO, if I redefine a certain number
> of images (i.e. 10) then if the image directory only contains 8 images , then
> the animation rotates through the first 8, then two blank spaces, then
> restarts. Its not smart enough to ignore the two blank images and just restart
> the cycle without a gap in between. THE SOLUTION: So really I need something
> that can rotate images dynamically that I dont have to define a specific number
> of images or their specific file names before hand. That way I can just load
> new images into that directory when I have them without ever having to update
> that part of the flash file each time a want another image in the animation.
> PLEASE help me or direct me to a URL that might have more info. Thanks
>
|
|