So I want to make a slide show where an image can be seen, then fades out to the next image. However I do not want any next/previous buttons, or a description. I would also like it to display images from a sub-folder or possibly xml.

Right now I am doing this using JavaScript because I do not know anything about flash. So I guess my question is can some one point me in the right direction as to how I can archive this using Flash CS3? [Tutorials, Help, Other Places to ask].

Thanks.

Dani AI

Generated

Short answer: Flash CS3 can do a simple, buttonless cross-fade slideshow fed from an XML file, but note that Adobe Flash Player has been retired and modern browsers no longer support SWF playback. For new projects prefer HTML5/CSS/JS sliders (see MDN for CSS transitions and animations) or a small JS library. (MDN on CSS transitions, Adobe Flash Player — background)

If you still need a Flash CS3 solution (for an internal/legacy deployment), the reliable pattern is:

  • Produce an external XML listing image URLs (Flash cannot enumerate server folders; use a server script to create XML if needed).
  • Load that XML with URLLoader, store URLs in an array.
  • Maintain two Loader instances or display containers: one visible, one hidden.
  • Crossfade by tweening the alpha of the top layer to 0, then swap and load the next image into the now-hidden loader.
  • Use basic error handling and resize/center logic so images keep aspect ratio and smoothing is enabled for resized bitmaps.

A minimal AS3 skeleton (frame or document class) looks like this:

import flash.net.URLLoader;
import flash.net.URLRequest;
import flash.display.Loader;
import flash.utils.Timer;
import fl.transitions.Tween;
import fl.transitions.easing.*;

var images:Array = [];
var l1:Loader = new Loader();
var l2:Loader = new Loader();
addChild(l2); addChild(l1);
// load XML, parse into images[], preload first two, start Timer, on each tick tween l1.alpha -> 0,
// on tween complete swap loaders, load next URL into hidden loader.

Practical tips: generate XML server-side (PHP/ASP) if you need folder scanning; handle IOErrorEvent and security/crossdomain issues when loading from other hosts; keep image file sizes low; set bitmap.smoothing = true after load; preload the next image to avoid flicker. For a quick, well-supported replacement, consider a small JS slider (Swiper/Slick) or a CSS-only fade for static sets.

Acknowledgements: asked for a Flash route; and pointed toward AS3/tweening approaches; offered a ready template if a drop-in is desired.

Recommended Answers

All 7 Replies

there have one option in photoshop
File Menu > Automative > Web Gallery

There have some gallery designes check

fill them you got xml, javascript, flash all files from the web gallery

That unfortunately does not do what I want

Yes

I got this from a template I purchased.
All I can do is collect the files you need for this ROTATOR and send you a download link.

You can change any value regarding speed, text, text color and add as much images as you want. The images are called from the XML file. You will see

Let me know if this works for you.

Thomas

Ummmm....i'm doing such things as i use flash cs3 doing my work :)

But i dont know how can i help u in dat way ?!!

& i know how to make want u want using flash CS3

As far as I know there are two options with your project (if you haven't done it already). The simpler way is to go into Flash and use motion tweens for your pictures and text maybe adding some effects here and there. The other more grueling option is to use Action script to call the XML files or pull them from an external folder. It will probably be easier if you choose Actionscript to integrate it with XML since AS3.0 is Object oriented. If you already know Javascript AS3.0 probably won't be a problem. If you're like me and you don't, you have a steep learning curve ahead of you

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.