Ninetynine is a creative design & coding agency

Archive for the ‘AS3’ tag

Doc? v3.0 BETA released

with 3 comments

Yesterday we’ve released a public beta from the new Doc? (v3.0)
Go and check it out at www.airdoc.be!

Doc? Air Local Livedocs

Here are some of the most important new features :

  • Minimize/Close to tray (WINDOWS)
  • Local Books
  • Online Books Download
  • Inline Search
  • Performance Upgrade (SQLITE)
  • Custom tree icons
  • Complete design makeover

Take a look on our website to learn more …


Written by michiel

December 27th, 2009 at 12:43 pm

Posted in AIR,AS3,Doc?,Flex

Tagged with , ,

Flex: TabNavigator Label Jump (Quick Fix)

without comments

Hey,

Somethings been bugging me while skinning a flex application :

The label from the selected tab from the TabNavigator component is 1px lower than the other tabs. As you can see in the example.
(It has something to to with the bottom border I’m guessing).

This can help as a visual support you are on a different tab, but I found it rather annoying, so here is my fix for it.
A quick fix by changing the “paddingTop” property.

View source is enabled so can download the example there.
http://ninetynine.be/blog/wp-content/uploads/2009/12/srcview/index.html

This movie requires Flash Player 9

Code after the jump.

Read the rest of this entry »

Written by michiel

December 20th, 2009 at 1:38 pm

Posted in AIR,AS3,Flex

Tagged with , ,

Flex: Runtime font embedding using compiled CSS with loader

with one comment

A missing feature in Flex is the ability to load fonts at runtime.

‘Why is this useful?’, you could ask. Well one situation is you’re creating an online rich text editor, and you want to add a font
to the font list. You would only have to edit the css and upload the new swf instead of the whole application. Or you want a client
to be able to add fonts without him having the source code from the application.

Luckily it’s possible in Flex to load runtime CSS compiled as an SWF with the StyleManager class.
StyleManager on LiveDocs

Fonts.css Example :

1
2
3
4
@font-face {
    src:url("fonts/Arial.ttf");
    fontFamily:"Arial";
}

How to compile the CSS to SWF?
Read the rest of this entry »

Written by michiel

April 13th, 2009 at 9:57 pm

Posted in AIR,AS3,CSS,Flex,Tutorials

Tagged with , ,

Growl messages with AIR

with one comment

For an AIR application that I’m creating (more about that later), I needed some way to show the users some event happened while the application was running in the background. So what’s better on Mac OS than showing growl notifications ;) ?

Growl message with as3

Adobe has worked together with the Growl team to add support for AIR and flash applications.
Mike Chambers has put together an open source project named as3growl which provides an API to work with the new Growl build.

Read the rest of this entry »

Written by michiel

March 31st, 2009 at 4:21 pm

Posted in AIR,AS3,Flex,Mac OSX

Tagged with , , , ,