adrianparr


Member since 02/09/2009

Name: Adrian Parr

adrianparr

Location: Aylesbury, UK

Website: http://www.adrianparr.com

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 (http://www.linkedin.com/in/adrianparr) 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.

107 snippets

7703 profile views

13 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

adrianparr's Recent Snippets



« Prev 1 2 3 4
This JavaScript gets you the percentage position of the browser's scrollbar.
1 1000 posted 11 years ago by adrianparr
Font Squirrel is a great place to convert your fonts to the different formats required. http://www.fontsquirrel.com/fontface/generator
0 701 posted 11 years ago by adrianparr
Credit for this goes to Adobe, Ric Ewing, Kevin Williams, Aden Forshaw and Sidney de Koning.
0 1607 posted 11 years ago by adrianparr
Credit goes to Bruno Imbrizi.
0 906 posted 11 years ago by adrianparr
Credit goes to Bruno Imbrizi.
0 1182 posted 11 years ago by adrianparr
Basic setup code for jQuery, linking to Google APIs for the jQuery library.
2 1010 posted 12 years ago by adrianparr
TimedText (TT) XML captions files can have namespaces that cause problems when parsing them in AS3. To get around this you can use this code to remove the namespace from the root XML node using Regex. This example uses
0 822 posted 12 years ago by adrianparr
Linebreaks differ between Flash TextField and a plain text file like Notepad. In this example we convert the html linebreaks in Flash to \r\n
0 1137 posted 12 years ago by adrianparr
This code gets the current caretIndex in the textfield and then inserts the specified string at that point. The caretIndex position is then updated using setSelection, ready for the next insertion. This was developed to be used with an on-screen keyb...
0 1309 posted 12 years ago by adrianparr
0 1445 posted 12 years ago by adrianparr
Examples of different ways to truncate/round a decimal number.
0 1018 posted 12 years ago by adrianparr
These two classes demonstrate how to create an external font SWF that contains embedded fonts, and how to then load that external font SWF and access and use the fonts inside it.
0 1156 posted 12 years ago by adrianparr
This font SWF was created using the handy tool FontSwffer (http://blog.madebypi.co.uk/2011/02/28/fontswffer-1-1/)
0 791 posted 12 years ago by adrianparr
If you don't deal with namespaces in XML correctly they can break your parsing in AS3. One way of getting around this is to remove the namespace from the XML a using regular expression.
0 919 posted 12 years ago by adrianparr
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 989 posted 12 years ago by adrianparr
For this to work you need the as3corelib classes from here ... https://github.com/mikechambers/as3corelib
0 2366 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 1328 posted 12 years ago by adrianparr
All credit for this class goes to Ben Kanizay (http://bk4d.com)
0 712 posted 12 years ago by adrianparr
All credit for this goes to Rob at calypso88.
0 746 posted 12 years ago by adrianparr
Full credit for this goes to Deva Raj (@nsdevaraj). This is also a good function for doing a similar thing, http://snipplr.com/view/27954/as3-convert-a-number-to-a-string/
2 967 posted 13 years ago by adrianparr
Full credit for this class goes to Deva Raj (@nsdevaraj). Many thanks.
1 832 posted 13 years ago by adrianparr
« Prev 1 2 3 4