|
-
random images fade in/out
I have been looking at tutorials online and I havent found exactly what I need.
I have a folder of jpegs that I need to fade in and out at random. One movie clip, not triggered by anything, just fadeing in and out different jpegs from an external folder. Any help?
thanks,
Dan
-
to read the contents of a folder, you'll need server-side script like PHP, ASP or CF. i'd use that to output XML, then read that in to flash using the URLLoader object.
once that's loaded, start the slideshow. there are many tutorials on getting random members (you can do so using the XML as-is, or dump the contents into an array).
use the Loader object to load in images, and either the built-in Tween class or any of the free open source tweening engines like TweenLite, Tweensy, GTween, etc to perform the fade.
you can either use the event management system of the tweening engine you're using, or a Timer object to control when each new one fades in.
-
thanks for the advice. I was actually hoping for something already made where I could just drop my images in. I will keep looking.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|