Page 1 of 1

Animate changing styles

Posted: Thu Jul 12, 2007 8:04 pm
by JCook
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

Posted: Thu Jul 12, 2007 10:28 pm
by Mikdog
yes

Re: Animate changing styles

Posted: Fri Jul 13, 2007 5:24 am
by Víctor Paredes
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
have you tried to make it?
or it is a rhetoric question?

is this a rhetoric question?

Posted: Fri Jul 13, 2007 8:51 am
by funksmaname
i tried it last night, and i couldnt do it... changing style didnt set a keyframe! perhaps someone could enlighten us? :?

Posted: Fri Jul 13, 2007 9:01 am
by Víctor Paredes
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.

Posted: Fri Jul 13, 2007 9:15 am
by Mikdog
Oh...I thought you meant like change from a realistic style to a cartoon style. My bad. Selgin's right - you can't change the STYLE SETTING on the timeline. It would be nice, but impractical to program. You'll have to change colour, line width, etc...manually.

Posted: Mon Jul 16, 2007 3:54 pm
by JCook
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

Posted: Mon Jul 16, 2007 4:52 pm
by funksmaname
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...

Posted: Mon Jul 16, 2007 5:48 pm
by Genete
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...
That's cool!!
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

Posted: Mon Jul 16, 2007 6:37 pm
by funksmaname
yeah, thats what i said - but you said it better :)

Posted: Tue Jul 17, 2007 1:51 am
by Víctor Paredes
funksmaname wrote:yeah, thats what i said - but you said it better :)
:oops: and actually i tried to explain this too.

Posted: Tue Jul 17, 2007 3:53 am
by heyvern
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

Posted: Tue Jul 17, 2007 4:08 am
by heyvern

Posted: Tue Jul 17, 2007 8:35 am
by funksmaname
Good thinking vern,
Yeah Selgin hehe i just realised you said it first :lol:

yeppers

Posted: Fri Jul 20, 2007 8:40 pm
by AlanPS
I've animated gradients through style changes. You can have a blue sky turn blood red- or make a guy's hair go DBZ super-sayin and turn white.
The gradients sometimes can look "bandy" though when changing.