Animate changing styles
Moderators: Víctor Paredes, Belgarath, slowtiger
Animate changing styles
Is it possible to change an object's style by animating from one style to another, so that the first style gradually morphs into the second style?
thanks,
Jack
thanks,
Jack
- Víctor Paredes
- Site Admin
- Posts: 5815
- Joined: Wed Jan 26, 2005 12:18 am
- Location: Barcelona/Chile
- Contact:
Re: Animate changing styles
have you tried to make it?JCook wrote:Is it possible to change an object's style by animating from one style to another, so that the first style gradually morphs into the second style?
thanks,
Jack
or it is a rhetoric question?
is this a rhetoric question?
- funksmaname
- Posts: 3174
- Joined: Tue May 29, 2007 11:31 am
- Location: New Zealand
- Víctor Paredes
- Site Admin
- Posts: 5815
- Joined: Wed Jan 26, 2005 12:18 am
- Location: Barcelona/Chile
- Contact:
sorry by my previous post. it's just that the answer of mikdog seemed so forceful that i not even think about if you could change from one style to another in timeline.
i'm sorry, but the answer is no.
what you can do is to create an animated style -i think that it was what mikdog thought- if you change the color of an style in timeline, this change will affect to all the shapes with this style applied.
for example, if you have the "red" style selected, and in the second 3, you change the style color to yellow, all the shapes with the style applied will become from red to yellow at frame 3.
i'm sorry, but the answer is no.
what you can do is to create an animated style -i think that it was what mikdog thought- if you change the color of an style in timeline, this change will affect to all the shapes with this style applied.
for example, if you have the "red" style selected, and in the second 3, you change the style color to yellow, all the shapes with the style applied will become from red to yellow at frame 3.
I was away for the weekend and just saw these responses on the forum.
I did try to set a keyframe to go from Style A to Style B, but it didn't work, so I figured it couldn't be done. But you never know when something is possible with some sort of hidden settings, or a novel technique. What I ended up doing was changing the color manually and not using styles for this. It worked fine, but it would be nice to be able to animate from one style to another in the timeline.
thanks,
Jack
I did try to set a keyframe to go from Style A to Style B, but it didn't work, so I figured it couldn't be done. But you never know when something is possible with some sort of hidden settings, or a novel technique. What I ended up doing was changing the color manually and not using styles for this. It worked fine, but it would be nice to be able to animate from one style to another in the timeline.
thanks,
Jack
- funksmaname
- Posts: 3174
- Joined: Tue May 29, 2007 11:31 am
- Location: New Zealand
agreed
-----------
I dont know if this helps, but what you CAN do is keyframe colour changes on the style itself... if you select the style you'll notice the timeline for colour changes goes blank - here you can keyframe outline/colour changes for a style itself, so all object asigned that style will automatically be affected...
-----------
I dont know if this helps, but what you CAN do is keyframe colour changes on the style itself... if you select the style you'll notice the timeline for colour changes goes blank - here you can keyframe outline/colour changes for a style itself, so all object asigned that style will automatically be affected...
That's cool!!funksmaname wrote:I dont know if this helps, but what you CAN do is keyframe colour changes on the style itself... if you select the style you'll notice the timeline for colour changes goes blank - here you can keyframe outline/colour changes for a style itself, so all object asigned that style will automatically be affected...
Also outline color can be changed! In fact style fill color and style outline color is an property that can change in the timeline as it is documented in the Moho script reference.
It allows you animate fill color and line color to a group of affected shapes with the same style without the need to change each shape's fill color and line color in the timeline. Change only the style. It sould be cool for a transition between day and night were a lot of shapes change its luminosity.
-G
- funksmaname
- Posts: 3174
- Joined: Tue May 29, 2007 11:31 am
- Location: New Zealand
- Víctor Paredes
- Site Admin
- Posts: 5815
- Joined: Wed Jan 26, 2005 12:18 am
- Location: Barcelona/Chile
- Contact:
How about actions?
Could you change or create "styles" using an action? This would be kind of cool if it could be key framed.
An action would store the "styles" instead of a style. It could be called an "action style". Apply the action of an "action style" and you COULD animate between them... sort of.
Will have to test this.
-vern
Could you change or create "styles" using an action? This would be kind of cool if it could be key framed.
An action would store the "styles" instead of a style. It could be called an "action style". Apply the action of an "action style" and you COULD animate between them... sort of.
Will have to test this.
-vern
- funksmaname
- Posts: 3174
- Joined: Tue May 29, 2007 11:31 am
- Location: New Zealand