Copy link to clipboard
Copied
This is another one of those things that I can do from the timeline, but haven't been able to build just using AS3. I get the opinion that all of the good Flash guys are doing more with just code than using the timeline. I'm assuming this allows them to re-use code thereby giving them faster build time. But then again, it may be just so that they can show off
Whatever the case, here's one that I'm thinking should be fairly simple if you're good!
http://gtwebconcepts.com/Junk/JetTween.html
PS. Don't bother with the XML stuff...that's way beyond me (for the moment).
Copy link to clipboard
Copied
that's a simple rotation and fade. what about it are you having trouble with.
Copy link to clipboard
Copied
uhhhh...
pretty much everything between the package braces
This was the general idea that I had looking at it starting (and then realized I'd have it done in about 10 minutes if I used the timeline). I'm not sure if this would be along the right track or not though.
package{
import transitions, easing, movieClip
public class ___ extends movieClip{
public function(){
build an array to hold the photos
loop through
rotate ()
alpha ()
timer()
counter()
end loop
}
}
}
Copy link to clipboard
Copied
All's you really need is a set of coded tweens in a function for the rotation, scale, and alpha, along with a listener for one of them, for an object--and probably a counter to manage the image movieclips with a conditional attached to start over. Each clip is set back to full upright scale at the back of the pack upon completion. The listener completion triggers the next object to be subjected to the same tweens. You don't want to use a straight out loop (for, etc), more like a recursive call via the tween listener.
Copy link to clipboard
Copied