This content has been marked as final. Show 5 replies
why are you using actionscript? Just asking out of curiousity as you can tween image fades easier than this.
Try, for example, placing a graphic with 100% alpha at one keyframe, then the same graphic in a keyframe further down the timeline with less alpha; then put a motion tween in between, this should then fade your image out.
Weird but here it is
The first bracket "(" of your Tween is not a real bracket. Ok it seams to be the same of normally, but it is a little bit bigger. It<s the first time I saw a bracket like that. That is the problem that cause flash to display the error you have.
Take this line instead of yours
new Tween(mcLoader, "_alpha", Strong.easeOut, 100, 0, 24, false);
Hope that can help you
I'm using this since I'm trying to add this tween to an array.
I want to have arrows that link to 20 or so photos, and I want each photo to fade in. I heard this was easier than tweening each pix in the timeline.
I'm just not sure how to link this to the array that I made.
My actionscript is terrible, you may have to wait until an expert arrives with the answer. I can see why you'd prefer to use script though, using 20 images would take a long time to do in the timeline!
thanks for your help!