you can use the bitmapdata class to create the pieces to both images. loop through the rows/columns of each image and store both corresponding pieces in a 2d array. shuffle the array and then loop through the shuffled array tweening the _xscale or scaleX property of each array element pair.
That makes perfect sense! Now is it possible to use more than 2
pictures?Llike if I had several I wanted to transition through...would I be
using a 3d...4d array(if they exist in actionscript) or would the script be
dynamically breaking the images into parts and reloading the 2d array with
the new pieces..per say lol....sorry if I dont make sense as I'm limited on
my knowledge for Flash. Thanks so much though -Zach
usually you transition from one image to one other image. if that's what you're doing, you would use the steps i outlined above. it you're doing some other kind of transition, you'll need to explain it.
Yes that is what I am doing...I just meant I have 4-5 different photos. I
wanted to make sure the method you outlined above wouldn't limit me to using
only 2 photos total. It is just like any other photo transition...you have
several photos to transition thru like a slide show. Do you know of any good
tutorials for learning the bitmapdata class and tweening n such? It would be
most helpful to hand over some sort of guidelines to my friend so he wont
have to learn from the ground up on his own. Thanks again! -Zach
there should be no problem with an unlimited number of pair-wise transitions.
the best way to find tutorials is to use google: flash <your actionscript version> bitmapdata tutorial
and you, in particular, want to check the draw() method of the bitmapdata class.
Ok thank you so much...I will definitely be getting on that right away. If I
have anymore questions I'll be sure to ask. Thanks again! -Zach