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

6 profile views

View their favorites

Profile

All time reputation: 786

Achievement

first submission:submitting first snipplet

adrianparr's Recent Snippets



« Prev 1 2 3 4
  1. FAV

    HTML5 Scrollbar Percentage Position using JavaScript

    This JavaScript gets you the percentage position of the browser's scrollbar.
    HTML saved by 1 person 9 views posted 7 years ago adrianparr
  2. FAV

    CSS @font-face Example

    Font Squirrel is a great place to convert your fonts to the different formats required. http://www.fontsquirrel.com/fontface/generator
    CSS 6 views posted 7 years ago adrianparr
  3. FAV

    AS3 Drawing Shapes (ARC, BURST, DASHED-LINE, GEAR, POLYGON, STAR, WEDGE, LINE)

    Credit for this goes to Adobe, Ric Ewing, Kevin Williams, Aden Forshaw and Sidney de Koning.
    ActionScript 3 14 views posted 7 years ago adrianparr
  4. FAV

    AS3 MathUtils static class

    Credit goes to Bruno Imbrizi.
    ActionScript 3 8 views posted 7 years ago adrianparr
  5. FAV

    AS3 Map a Number within one range to another range

    Credit goes to Bruno Imbrizi.
    ActionScript 3 4 views posted 7 years ago adrianparr
  6. FAV

    jQuery Basic Setup

    Basic setup code for jQuery, linking to Google APIs for the jQuery library.
    jQuery saved by 72 people 75 views posted 8 years ago adrianparr
  7. FAV

    AS3 Parse TimedText (TT) XML Captions File

    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
    ActionScript 3 2 views posted 8 years ago adrianparr
  8. FAV

    AS3 Convert TextField LineBreaks to CRLF for Display as Plain Text (Notepad) on Windows

    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
    ActionScript 3 5 views posted 8 years ago adrianparr
  9. FAV

    AS3 Insert and Delete Characters at TextField CaretIndex Position

    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...
    ActionScript 3 8 views posted 8 years ago adrianparr
  10. FAV

    AS3 Decimal To Hex

    ActionScript 3 4 views posted 8 years ago adrianparr
  11. FAV

    AS3 Truncating Decimal Number

    Examples of different ways to truncate/round a decimal number.
    ActionScript 3 4 views posted 8 years ago adrianparr
  12. FAV

    AS3 Loading and Accessing fonts in external SWF at Runtime

    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.
    ActionScript 3 4 views posted 8 years ago adrianparr
  13. FAV

    AS3 Example Font SWF

    This font SWF was created using the handy tool FontSwffer (http://blog.madebypi.co.uk/2011/02/28/fontswffer-1-1/)
    ActionScript 3 4 views posted 8 years ago adrianparr
  14. FAV

    AS3 Post tinyurl to Twitter via Twitter webpage

    ActionScript 3 3 views posted 8 years ago adrianparr
  15. FAV

    AS3 Remove namespace from XML

    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.
    ActionScript 3 3 views posted 8 years ago adrianparr
  16. FAV

    AS3 Get formatted time from dirty timestamp string

    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...
    ActionScript 3 7 views posted 8 years ago adrianparr
  17. FAV

    AS3 Load and access JSON data example

    For this to work you need the as3corelib classes from here ... https://github.com/mikechambers/as3corelib
    ActionScript 3 11 views posted 8 years ago adrianparr
  18. FAV

    AS3 Simple digital clock

    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).
    ActionScript 3 2 views posted 8 years ago adrianparr
  19. FAV

    AS3 DrawingUtil Class

    All credit for this class goes to Ben Kanizay (http://bk4d.com)
    ActionScript 3 7 views posted 8 years ago adrianparr
  20. FAV

    AS3 Remove an element from an array

    ActionScript 3 4 views posted 8 years ago adrianparr
  21. FAV

    AS3 Show Embedded Fonts

    ActionScript 3 2 views posted 8 years ago adrianparr
  22. FAV

    AS3 Trace Out Filters Applied to a DisplayObject

    All credit for this goes to Rob at calypso88.
    ActionScript 3 1 views posted 8 years ago adrianparr
  23. FAV

    AS3 Round Decimal Places

    ActionScript 3 saved by 9 people 3 views posted 9 years ago adrianparr
  24. FAV

    AS3 Convert Numbers to Words

    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/
    ActionScript 3 saved by 8 people 4 views posted 9 years ago adrianparr
  25. FAV

    AS3 ColorUtil Class (inc. RGBtoCMYK, CMYKtoRGB, subtractive colour & addative colour)

    Full credit for this class goes to Deva Raj (@nsdevaraj). Many thanks.
    ActionScript 3 saved by 4 people 1 views posted 9 years ago adrianparr
  26. FAV

    AS3 HSB Colour (Object) to RGB Colour (Object)

    ActionScript 3 3 views posted 9 years ago adrianparr
  27. FAV

    AS3 RGB Colours (object) to HSB Colours (Object)

    ActionScript 3 4 views posted 9 years ago adrianparr
  28. FAV

    AS3 Average Colour Between Two Colours (My version)

    ActionScript 3 1 views posted 9 years ago adrianparr
  29. FAV

    AS3 CSS Colour (String) to RGB Colours (Object)

    ActionScript 3 2 views posted 9 years ago adrianparr
  30. FAV

    AS3 Hex Colour (uint) to RGB Colours (Object)

    ActionScript 3 saved by 4 people 2 views posted 9 years ago adrianparr
« Prev 1 2 3 4