Does anything other than the size change with the state change? Because you could just animate the height and width property of the component on MouseOver event.

Paul



On Nov 20, 2007, at 10:44 AM, Mark Ingram wrote:

Hi Juan, I’ve had a look at the example and I’ve got it working. But myself and my designer are struggling to get the over state working when the overstate is larger than the normal state.

e.g.

If you had a button that normally looks like this:

     |----------|
     |----------|

In the over state I want it to expand (with animation) to be like this:


|--------------------|
|                         |
|--------------------|


Do you know how this can be done? The example works great when the symbols are the same size, but my designer is struggling when it’s got to animate larger.

Any tips greatly appreciated.

Thanks,

Mark



From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of scalenine
Sent: 16 November 2007 17:06
To: [email protected]
Subject: [flexcoders] Re: Animated overSkin (how to use more than one frame of a symbol)

Hi Mark,

Using the Flex Component Kit and Flash CS3 you can do what you're
looking for. I just wrote a tutorial about using the FCK to create a
"stateful" skin with transitions. You can read it here :
http://tinyurl.com/yoxqcq .

The tutorial describes how to make a basic transition, but you could
easily elaborate on it to do what you're looking for.

Hope that helps.

Juan

scalenine.com : degrafa.com

--- In [email protected], "Mark Ingram" <[EMAIL PROTECTED]> wrote:
>
> Hi, does anyone know if it's possible to have an animated overSkin for a
> button? Our designer has created an overSkin which just extends the
> normal skin, making it feel like it grows when the mouse is over it.
> However, when I embed it in our flex application, it constantly flicks > between 1 frame of the over skin and then back to the upSkin. How can I > get flex to play nicely with the over state? (i.e. play the full symbol
> instead of just use 1 frame).
>
>
>
> Thanks,
>
>
>
> Mark
>



Reply via email to