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

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 …
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 »
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 »
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
?

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 »