I agree, this is perhaps the most irritating thing about animating
inside the Flash timeline.
Unfortunately I believe it is just a limitation of Flash, and the only
way to get around it is to avoid keyframes on objects you need to use
code with. So, either avoid all keyframes and do animation with code,
or just avoid keyframes on the specific objects you want to modify with
code. In your example for changing text or colour, the object you are
changing (textfield or movieclip) needs to be inside another movieclip.
Now you can apply code to the inner movieclip and timeline effects to
the outer movieclip (or vice versa), and it should work ok.
But unfortunately it is still a pain. But then, that's animating in
Flash for you :)
Regards,
Grant Cox
Meinte van't Kruis wrote:
Hi folks,
I've had this problem for a long time and it keeps on coming back once in a
while, and allthough
I've allways found ways to work around it, I never got to a real solution,
so perhaps some of you know the
answer.
The problem is, simply put:
make a textfield, called tfield
place it inside a movieclip called mc
now we'll animate mc, one keyframe on frame 1, one keyframe on frame 10, put
a motion tween in there.
now the problem is, i have two keyframes, thus two instances of, basically,
the same thing (same instance name)
this, somehow, always brings up alot of problems, giving unexpected results.
when i, say, change the color of the movieclip, or the text of the field
inside the movieclip, it usually doesn't work at all
it seems like flash only likes to change the color or text on the first
frame and not during the animation, or on the last frame
Does anyone know a good solution to this problem, because i feel there must
be an easy solution to this (besides tweening with actionscript alone)
thanks,
Meinte
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com