PDA

View Full Version : Dynamic Slideshow (tweening) Help Please



Adra
February 13th, 2008, 03:46 PM
I'm creating a dynamic slideshow in flash, because I don't want it to take forever to load.

(dynamic meaning it loads in the images from external files rather than them being embedded in the flash file itself.)

I'll be using the ******.loadMovie command

I need it to fade from image to image - a simple motion tween with alpha, which is easy enough to accomplish in a single movie with preloaded images

My question is this:

Is there a way I can create two symbols (one with the current image, another with the next image, the next on the frame below) and just change the source of the images, then alpha tween the hell out of them upon button click?

Thanks for your help.

Wait... I'm going to try to use loadimage again - hope this works! I'll let you all know if it does, and if not ill give you my code. :hr:

Adra
February 13th, 2008, 03:58 PM
Nevermind, haha I knew how to import - obviously - but I need help with the fading tween still not sure how to do that.:trout:

nsrgreg
February 13th, 2008, 04:03 PM
I would suggest using the built in motion tween classes in flash. The photo tween might work well for you! Heres a link for some information for Actionscript 3.0 tween classes:
http://www.adobe.com/devnet/flash/articles/creating_animation_as3.html

Adra
February 18th, 2008, 12:06 PM
I would suggest using the built in motion tween classes in flash. The photo tween might work well for you! Heres a link for some information for Actionscript 3.0 tween classes:
http://www.adobe.com/devnet/flash/articles/creating_animation_as3.html

That worked well, thank you =)

saion
February 18th, 2008, 04:42 PM
Yeah, i never use the oldfasioned motion-tweems any more. I always use the tweening classes for transitions of all types. I personally like caurina transitions, its very easy to use and you dont have be that good at as3 to use it, it can be downloaded at http://code.google.com/p/tweener/.

// Max