Member since 02/09/2009

Name: Adrian Parr


Location: Aylesbury, UK


I am an experienced freelance multimedia professional with a strong mix of technical and managerial skills. I have more than eight years’ experience working in a busy London full-service digital media agency. I consider myself an all-round digital media expert with a focus on Adobe Flash and related technologies. I am a hard worker who is very easy to get along with.\r\n\r\nPlease visit my LinkedIn profile ( to view recommendations from previous co-workers. I have worked on interactive projects across a wide range of sectors, including education, government, television and advertising, receiving more than 20 major industry awards. I am passionate about the industry and active within the online community, and always ensure my knowledge is up-to-date.

12 snippets

5520 profile views

13 Comment(s) Posted

View their favorites



first submission:submitting first snipplet

adrianparr's Recent SnippetsTagged format

« Prev 1 Next »
I was working on a project where the timestamp string I was getting from the backend developer was pretty dirty in the way it was formatted. For example, it looked like "/Date(1310127448000+0100)/". I needed to get a nicely formatted time from it in...
0 858 posted 12 years ago by adrianparr
For this to work you need the as3corelib classes from here ...
0 2088 posted 12 years ago by adrianparr
This example expects there to be a dynamic textfield on the stage with the instance name of 'myTextFieldOnStage'. Remember to embed the fonts (Numerals and Colon).
0 1202 posted 12 years ago by adrianparr
To style the text in a TextArea component, create a TextFormat object and pass it to the TextArea's setStyle method.
0 824 posted 13 years ago by adrianparr
This code removes all the spaces and then inserts a single space so that the there are only 3 characters on the right-hand side (the inward code).
0 642 posted 13 years ago by adrianparr
This returns a string with a single space after the fifth character. Useful for displaying a UK mobile number which is easy to read.
0 677 posted 13 years ago by adrianparr
Format a number so it is more humanly readable. It allows for setting the number of decimal places (inc. adding 0000s to the end) and separating thousands with a comma. Example usage: trace(numberFormat(1234.695, 2, true, false)); // Output:...
0 981 posted 13 years ago by adrianparr
« Prev 1 Next »