Since I use Zeh's tweening methods I would have to agree with him, use actionscript to do the tweening and you'll be a happy developer from this day forth. It is a much cleaner way to control your movies. If you haven't done so to this point I would suggest reading through his site and get a handle on how you can have more control over your movies using actionscript.
http://hosted.zeh.com.br/mctween/using.html

I know that doesn't answer your question but it will help you as a developer.

Gerry


On Mar 30, 2006, at 12:03 AM, Zeh Fernando wrote:

I have a movieclip animating across the stage using a tween in the timeline. Halfway through that tween I'm using AS to set the _alpha of the clip to 50%. At the moment I do this, if forgets about the tween in the timeline and stops moving. Why is this happenning? How do I tell Flash that I want the timeline animation to keep working after I change a MovieClip property?

Timeline animations are something done on "design-time" - when exporting the final SWF, flash actually renders all the motion frames to precalculated pseudo-keyframes and then applies them when playing the movie.

You can't make it 'switch' back to the timeline tween. As soon as you change a property dynamically, it snaps out of any tweening and flash won't update it anymore. You can do this:


1. Instead of changing the property on the movie that's being tweened on the timeline, change it INSIDE it (for example, having a container movieclip inside the movieclip itself, which you can change the property); or

2. Drop timeline tweening and use 100% actionscript tweening instead.


Chosing option 1 can be messy and it's a bit different to figure out (it will stack with yout timeline tweening, not overwrite or change it) but it works on some cases. And chosing option 2 is probably the best thing you'll ever do for your flash development productivity.


- Zeh
_______________________________________________
[email protected]
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

_______________________________________________
[email protected]
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

Reply via email to