Archive for the ‘Actionscript’ Category

Generating PDF-s on the client side (including non-latin chars)

This seems to come up every once in a while, especially outside US and UK. People start looking at the PDF generating libraries, and find that when they use a non-latin character it stops to work. It needs some special care but it is really easy to get it working, I’m going to show how [...]

Basic socket server in AIR

The socket api is relatively simple, but I couldn’t find a simple step by step tutorial on getting sockets working. The basic idea was to create an app that can send text to connected clients (which I’ll be using to send code while teaching a Flex class), and getting that basic functionality working is amazingly [...]

Things you might not know about calling actionscript functions

OK, my guess would be that everybody used a function at one point or another. But there are some things which are less than obvious about an actionscript function. Let’s take a quick look. Calling functions Let’s create a simple function which will accept any number of parameters. function sum(…arg):int {       var [...]

/