Tag Archive for 'easing'

11
Oct

Changing the default easing function on a Wipe effect

The following example shows how you can customize the move easing function on a wipe effect.

Full code after the jump.

Continue reading ‘Changing the default easing function on a Wipe effect’

12
Sep

Customizing the slide duration and slide easing function on a Flex slider control

The following example shows how you can customize the duration and easing function used when a user clicks on a thumb track on an HSlider or VSlider control in Flex.

Full code after the jump.

Continue reading ‘Customizing the slide duration and slide easing function on a Flex slider control’

27
Aug

Changing the Accordion container’s easing duration and easing functions

The following example shows how you can control the easing duration and easing function that the Accordion container uses when changing the visible child container.

Full code after the jump.

Continue reading ‘Changing the Accordion container’s easing duration and easing functions’

07
Aug

Specifying certain unicode-ranges for embedded fonts

In a previous post (”Embedding and animating fonts in a Flex application“), we looked at embedding a font in a Flex application so we could animate, rotate, and set the alpha for a Text control. Well, as we learnt, sometimes embedding a whole font face can dramatically increase the size of the final SWF output. In this post we’ll look at only specifying a certain range of characters for an embedded font, which will help reduce file sizes.

Full code after the jump.

Continue reading ‘Specifying certain unicode-ranges for embedded fonts’

06
Aug

Embedding and animating fonts in a Flex application

I meant to post this earlier, and I already touched on font embedding in an earlier post (Building a basic controller for the VideoDisplay control), but here’s a quick little way to embed a font in a Flex application.

In this example we embed a font (the awesome “Base 02″ PC TrueType font (TTF) from http://www.stereo-type.net/), animate it using the Zoom effect and the Elastic.easeOut easing method. We also set the rotation and alpha properties (which you can’t do with non-embedded fonts), and we set the fontAntiAliasType to “advanced” to give the font a cleaner look. Finally we use the effectEnd event to loop the animation.

Full code after the jump.

Continue reading ‘Embedding and animating fonts in a Flex application’